Commit Graph

23019 Commits

Author SHA1 Message Date
Jihoon Kim 4b5ed04559 Edje: add edje_object_part_text_input_panel_show_on_demand_set/get() 2013-08-14 18:17:06 +09:00
U. Artie Eoff 56ca91dec0 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
2013-08-13 08:16:22 -07:00
Oleksander Sirook 337b3d4daf eina: add test for 'eina_file_map_new' function. 2013-08-13 17:31:41 +09:00
Jihoon Kim fe05d358ea Add ecore_imf_context_input_panel_on_demand_set/get API 2013-08-13 15:27:29 +09:00
Daniel Willmann 3e5bd813d3 embryo: Fix a potential buffer overflow (klocwork id 321)
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-08-12 18:32:40 +01:00
Gustavo Lima Chaves d84e77d93f Enough with this bad align Edje property documentation. 2013-08-12 13:29:43 -03:00
Cedric Bail b13db5ab8d edje: forth recalc for text part that got adjusted during a calc_only. 2013-08-12 16:47:46 +09:00
Mike Blumenkrantz cd612516bd dns.c is the default resolver in ALL cases when we have a C99 compiler, not just when ipv6 is available. 2013-08-12 08:39:57 +01:00
Cedric Bail 2b68a31252 evas: handle gracefully move from evas_object_image_file_set to and from evas_object_image_mmap_set. 2013-08-12 12:12:13 +09:00
Cedric Bail d72239a118 eina: remove a warning. 2013-08-12 12:11:56 +09:00
Cedric Bail 32fa458370 edje: fix forgotten fetch. 2013-08-12 08:58:37 +09:00
Cedric Bail 9a637112b4 edje: let's make a difference between file does not exist and no file specified. 2013-08-12 08:55:36 +09:00
Cedric Bail ac26057519 edje: forgotten refcounting of Eina_File use. 2013-08-12 08:42:55 +09:00
Chris Michael 5ccf87c845 Remove unused variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-08-11 14:02:21 +01:00
Carsten Haitzler 393040a9fe adjust (as discussed) to have enums for memory and battery state. 2013-08-10 23:23:06 +09:00
Carsten Haitzler 1e9d4bf28f evas - fix up border adjust improvement from last night. handles overlap now 2013-08-10 16:26:30 +09:00
Gustavo Sverzut Barbieri 6f2871a305 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 :-)
2013-08-09 16:39:10 -03:00
Gustavo Sverzut Barbieri c0c5736a4e 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.
2013-08-09 14:28:02 -03:00
Gustavo Sverzut Barbieri ca39ff976e 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.
2013-08-09 12:14:00 -03:00
Gustavo Sverzut Barbieri 0a9c78896b 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
2013-08-09 12:14:00 -03:00
Tom Hacohen 76eceda2ee 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 4f484b81d4
from happenning in the first place.
2013-08-09 15:46:40 +01:00
Jérémy Zurcher 5afa29af59 eo: slight speed up 2013-08-09 16:03:09 +02:00
Carsten Haitzler a18bdfc19f evas - OOPS! printf was not meant to go in! 2013-08-09 22:30:14 +09:00
Carsten Haitzler 9b8f67ec4d evas - minor visual fixup with impossible border scaling to be more sensible 2013-08-09 22:07:06 +09:00
Cedric Bail 7506faaca2 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.
2013-08-09 20:50:54 +09:00
Cedric Bail 861823848a eina: change eina_file_virtualize to be able to provide a fake name. 2013-08-09 20:50:54 +09:00
Stefan Schmidt 4f484b81d4 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
2013-08-09 11:54:42 +01:00
Stefan Schmidt 84a7cefcc2 edje: Do not access after freeing
Better free it after we access it.

CID 1039917
2013-08-09 11:43:25 +01:00
Stefan Schmidt d7d347da0a 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
2013-08-09 10:27:54 +01:00
Stefan Schmidt d067c28e74 eet: Add comment about missing break in switch statement 2013-08-09 10:17:49 +01:00
Chris Michael e811036199 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>
2013-08-09 06:38:54 +01:00
Tom Hacohen 1d75dcaf56 Evas textblock: Make the ellipsis format the same as the surrounding.
This fix is based on a solution by WooHyun Jung.
2013-08-08 13:10:39 +01:00
Carsten Haitzler fb3159c48e eina module - minor addition ot allowing lazy loading if env var set 2013-08-08 20:18:08 +09:00
Cedric Bail 464c58a1c9 eina: another fix for windows build. 2013-08-08 17:17:58 +09:00
Cedric Bail c4beec0127 eina: fix compilation of Eina_File on windows. 2013-08-08 17:05:14 +09:00
Cedric Bail a07fab03e8 evas: CRIT when someone change object geometry during pixels get callback. 2013-08-08 09:47:45 +09:00
Cedric Bail 7c6b3b1d4a edje: fix off-by-one when x or y where negative. 2013-08-08 09:47:45 +09:00
Stefan Schmidt 91426926c5 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
2013-08-07 15:38:35 +01:00
Stefan Schmidt 03c2d1c868 ecore: Check if eina_inarray_grow return NULL.
We will dereference one line below.

CID 1039337
2013-08-07 15:18:19 +01:00
Stefan Schmidt d2f8eaf6c8 eio: Check return code of fcntl()
CID 1039686
2013-08-07 15:18:19 +01:00
Stefan Schmidt 824bf92dad eeze: Remove unused var and related dead code.
Must be a leftover from older times. syspath never get set here.

CID 1039463
2013-08-07 15:18:19 +01:00
Stefan Schmidt bdd3e7e8ca eeze: Go to next loop iterate if test is NULL.
We would dereference it even if NULL one line later.

CID1039328
2013-08-07 15:18:18 +01:00
Sebastian Dransfeld 144ed4c10c efreet: Fix buffer overrun, leave space for '\0'
CID: #1039304, #1039305 and #1039306
2013-08-07 13:02:54 +02:00
Sebastian Dransfeld e011d5e67c efreet: be paranoid about '\0' termination
CID: #1039721
2013-08-07 13:02:54 +02:00
Sebastian Dransfeld 35a45eb062 efreet: formatting 2013-08-07 13:02:54 +02:00
Sebastian Dransfeld 2e4fb25922 efreet: clean up ugly internal_get function
CID: #1039186
2013-08-07 13:02:54 +02:00
Sebastian Dransfeld 75dd06bcb1 efreet: Remove dead code
CID: #1039942
2013-08-07 13:02:54 +02:00
Sebastian Dransfeld ed524d49cc efreet: Explicitly set num_pending to 0
CID: #1039185
2013-08-07 13:02:54 +02:00
Sebastian Dransfeld 9707fee051 efreet: Check return value of eet_list
CID: #1039327
2013-08-07 13:02:53 +02:00
Sebastian Dransfeld 8327903b99 efreet: fgetc returns int
CID: #1039720
2013-08-07 13:02:53 +02:00