Commit Graph

19902 Commits

Author SHA1 Message Date
Mike Blumenkrantz e869cb9649 disable client color editor for non-X clients for now 2015-04-21 15:21:19 -04:00
Mike Blumenkrantz 96f07bff8a wl client pixmaps now use a different method for creating the pixmap id 2015-04-21 15:19:20 -04:00
Mike Blumenkrantz 6e222cede8 add wl client event callbacks at lower priority
this ensures that bindings will activate before events are passed to clients
2015-04-21 15:17:56 -04:00
Mike Blumenkrantz b825af34cf use client geom for comp object centering functions if ec->new_client is set 2015-04-21 15:05:25 -04:00
Chris Michael 9b7358aa32 e-comp-wl: Don't crash if we fail to create a new e_client
This "should" fix T2344 crashing, however I suppose a better question
is ... why is e_client_new returning NULL when it Does find the client
already in the hash...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-21 09:38:00 -04:00
Conrad Meyer 90fe5a4d0d e_auth: Add suid helper for lokker own-pw checking on FreeBSD
Summary:
PAM on FreeBSD, unlike on Linux, does not allow users to check their own
password. Instead, we need a suid helper to do it for us. Add such a
helper on FreeBSD.

For now, it is limited to checking users in the local password database
(traditional Unix passwd file). This could and should be extended to use
PAM in a later patch.

Test Plan:
Tested empty pw, wrong pw, correct pw at lock screen; observed correct behavior
in each instance.

Reviewers: q66, zmike

Reviewed By: q66, zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2355
2015-04-21 13:11:56 +01:00
Tom Hacohen 99b8d84485 Auth: try harder when clearing passwords.
Based on http://www.daemonology.net/blog/2014-09-04-how-to-zero-a-buffer.html

Thanks again to Matthew Garrett, for pointing this out on twitter.
2015-04-21 10:45:01 +01:00
Tom Hacohen 599eda1a65 Module teamwork: Stop using a deprecated function. 2015-04-21 10:29:58 +01:00
Tom Hacohen acfdda6c7f E auth: improve clearing out passwords from memory.
Optimising compilers (like gcc/clang with -O1 or above) were optimising
out the memset(). Until link time optimisations are good enough, this
will prevent them from doing so. The best solution would be to use
memset_s() (c11), though it's not readily available yet. This is the
first step towards using memset_s() with a fallback for systems who
don't have it. A better solution, is to put it in Eina, to prevent LTO
completely. This will have to be done after the EFL release.
Even this is not entirely safe though, but at least it protects us from
some memory disclosure issues.

This doesn't solve the fact that we may store a copy of the password in
other places, like the input system. We need to address that too.

Thanks to Matthew Garrett for pointing this out or Twitter.
2015-04-21 10:19:48 +01:00
Carsten Haitzler 9eaac75ae2 e - e_client - fix added printf
665caad451 fix added a printf i didn't
notice - fix.
2015-04-21 11:00:24 +09:00
Carsten Haitzler 665caad451 e client - desk wait - ref it properly and clean up delfn
delfn's on desks being referred to as profile.wait_desk were never
cleared when client was freed. als the desk itself never got an obj
reference - fix that and ref/unref it.
2015-04-21 09:36:33 +09:00
Carsten Haitzler c746beb202 e - xsettings - calloc buffer since we leave 3 of 4 bytes unset
the first 4 bytes is a msb/lsb thing for xsetttings - we ignore 3 of
the 4 bytes. thus we should just calloc the whole buffer to ensure its 0
2015-04-21 08:52:19 +09:00
Derek Foreman 1fb1f17db0 Fix wayland compositor on 32 bit systems
Summary:
_e_elm_win_trap_show() treats Ecore_Window as a 64bit data type when
it's actually the same size as the system's pointer type.

 #24HourFullPowerNoToiletNoShower

Reviewers: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2388

fix T2194
2015-04-20 18:18:20 -04:00
Mike Blumenkrantz 12d6cf8f3b fix submenu visibility during scroll
sometimes while quickly moving the cursor through menu items with submenus
the visibility flag would toggle more quickly than the menu object's visibility.
this is no longer the case
2015-04-20 18:08:07 -04:00
Mike Blumenkrantz 87bed22bf5 attempt to decode notification image uris with efreet before showing them
fix T1939
2015-04-20 17:24:48 -04:00
Jean Guyomarc'h ba975e702f e_backlight_main: fix compiling when not having Eeze
Summary:
EINA_UNUSED is defined in Eina. Since we are not using the program at all,
let's void main()'s arguments instead of trying to ignore them.

Test Plan: tested only on OSX, unbreaks the build.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2387
2015-04-20 17:03:22 -04:00
Mike Blumenkrantz ea7ec93af8 clear app menu cache any time a desktop is edited internally
ref T2271
2015-04-20 16:04:48 -04:00
Mike Blumenkrantz 3eaf4e8638 add function for clearing app menu cache
ref T2271
2015-04-20 16:04:31 -04:00
Mike Blumenkrantz 15f161d542 swap key -> keyname when attempting to bind lparen/rparen keys
this is impossible to grab on X, so ensure the generated binding is usable

fix T2059
2015-04-20 15:31:41 -04:00
Mike Blumenkrantz b842855391 fix clock popup widget parenting 2015-04-20 15:17:05 -04:00
Mike Blumenkrantz 934d541795 use client geometry for starting unmaximize calculations
the resize operations in this function operate off client geometry, so
stop using frame geometry

fix T2170
2015-04-20 14:32:21 -04:00
Chris Michael 51290c273c wl-drm: Use ecore_evas_new with an engine name rather than direct ecore_evas_drm_new calls
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 11:45:20 -04:00
maxerba 6604268f2d Make some randr messages translatable 2015-04-20 16:23:33 +02:00
Simon Lees 943d919db5 Wizard: Update icon theme search list
Summary:
@fix The list of icon themes in the search list is quite out of date
it doesn't include the icon themes used by gnome3 or kde4/5 this means
for a lot of users at first boot e has alot of missing icons.

The Icon sets that have been added are as follows
      "Oxygen",            /* KDE 4 */
      "Adwaita",           /* Gnome 3 */
      "Breeze",            /* KDE 5 */
      "HighContrast"

This change will cause T1732 and T1923 to not occur for almost all users
but it does not fix them properly the code should be modified to fall back
to pick up icons from fallback locations such as the hicolor theme if no
icon theme is set.

It would be nice if someone could backport this to e19 I don't know how to

Reviewers: bu5hm4n, zmike, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2377
2015-04-20 13:53:00 +09:00
Jean-Philippe ANDRE 215b3b3474 PackageKit: Fix a crash properly
This reverts and tries to actually fix:

commit b30892056e
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Fri Apr 17 10:30:06 2015 +0900

    PackageKit: Fix crash on error

    Sometimes a "normal" error occurs and then the callback is
    called with no context data. Then crash boom sigsegv happens.
2015-04-18 17:19:00 +09:00
Mike Blumenkrantz 8f4a018e18 remove support for wayland builds on 32bit
this doesn't work for some reason and there are no plans to fix it anytime soon.

ref some infinite number of tickets
2015-04-17 14:15:06 -04:00
Jean-Philippe Andre b30892056e PackageKit: Fix crash on error
Sometimes a "normal" error occurs and then the callback is
called with no context data. Then crash boom sigsegv happens.
2015-04-17 10:31:14 +09:00
Mike Blumenkrantz 45f26f5205 fix unoptimized stringshare usage in keybindings cfd 2015-04-16 16:02:29 -04:00
Mike Blumenkrantz 5995b13b14 prune no_display desktops from evry apps plugin
probably fix T2256
2015-04-16 15:16:50 -04:00
Mike Blumenkrantz 3c027f54b6 fix evry app listing list leak 2015-04-16 15:04:42 -04:00
Mike Blumenkrantz 14f44ef6e3 fix pixmap image clearing based on pixmap type
!@%!@$#!# borkerhorns!!!!!!

invalidates T2291
2015-04-16 14:39:09 -04:00
Stefan Schmidt 83572a3edb e_client: Remove self assignment from e_comp
Hopefully the last one of these self assignments.

CID 1291840
2015-04-16 17:00:08 +02:00
Stefan Schmidt 566b91322f systray: Remove self assignment from e_comp
Another left over from the e_comp refactor.

CID: 1291839
2015-04-16 17:00:08 +02:00
Stefan Schmidt 468654e001 gadman: Remove self assignment of e_comp
This looks like a left over from the e_comp refactor.

CID: 1291838
2015-04-16 17:00:08 +02:00
Daniel Kolesa b688f71236 mailmap: update q66 2015-04-16 14:25:26 +01:00
Carsten Haitzler 23b5392dbe shot - only access e client if not null 2015-04-15 10:02:12 +09:00
Mike Blumenkrantz d8505f2978 fix evry comparison macro to work as expected
missing parens = !operating as intended in many cases
2015-04-14 20:43:44 -04:00
Mike Blumenkrantz af59e95b28 fix return value in backlight helper exe on non-freebsd systems
ref D2337
2015-04-14 20:37:47 -04:00
Mike Blumenkrantz 5dd146e7e4 fix nocomp_override conditional which would inaccurately toggle nocomp
hooray gcc 5.0
2015-04-14 20:26:21 -04:00
Kai Huuhko 6e1c1d2c58 L10N: Update Finnish translations 2015-04-14 20:29:42 +03:00
Conrad Meyer b3a0b9be44 tempget: Add lm75(4) temperature source for non-x86 FreeBSD
Summary:
Another suggestion from Dmitry Luhtionov. I am told this sensor (on the
i2c bus) is more likely to be present on non-x86 systems (ARM, etc).

Reviewers: zmike, q66

Reviewed By: q66

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2345
2015-04-14 14:56:46 +01:00
Conrad Meyer 4fc5495f4e backlight: Use basic ACPI sysctl knob on FreeBSD (kernel)
Summary:
Unconditionally build the suid-helper _backlight program; conditionalize
behavior on Eeze, FreeBSD (doing nothing on neither). Add logic to set
the FreeBSD sysctl in a similar manner to udev devices on Linux.

Add _bl_sys_find/_get helpers for FreeBSD that check for and consult the
video ACPI sysctl.

Test Plan:
Seems to work okay on my laptop (with EINA_CPU_FAKE=1 to workaround a threadq
race that I believe is unrelated -- T2287).

Reviewers: zmike, q66

Reviewed By: q66

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2337
2015-04-14 14:20:33 +01:00
Gustavo Lima Chaves de943ddfa7 Generate *all* music control files in src tree.
This fixes once and for all out of tree builds.
2015-04-14 00:34:26 -03:00
Mike Blumenkrantz 62c4384ed9 allow client icon change events in ibar client prop handler
fix T2284
2015-04-13 16:17:13 -04:00
Mike Blumenkrantz 785cb47b89 set E_Exec_Instance desktop during client idler if none present
ref T2284
2015-04-13 16:16:37 -04:00
Mike Blumenkrantz 5d6ca39e7d check correct number of params passed to internal/desk cfd
fix T2221
2015-04-13 15:54:12 -04:00
Mike Blumenkrantz ab9d2723a5 only set shot window layer if taking window shot
fix T2282
2015-04-13 15:47:23 -04:00
Mike Blumenkrantz 668de186ac fix desktop editor entry widget parenting
fix T2283
2015-04-13 15:46:00 -04:00
Mike Blumenkrantz db9348c16f do not attempt to re-center fullscreen/maximized internal windows
fix T2279
2015-04-13 15:39:30 -04:00
Jean Guyomarc'h 33631fa622 modules/bluez4: fix duplicated symbol
Summary:
Global variable should be declared as extern to avoid symbol duplication.
Fix compiling of ebluez4 module on OS X.

Test Plan:
Since Enlightenment cannot (yet) be fully compiled on OS X, I cannot test
the real-life impact of this change.

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2327
2015-04-13 15:26:54 -04:00