Commit Graph

23315 Commits

Author SHA1 Message Date
Simon Lees 74e604ba41
0.22.4 NEWS 2018-08-22 07:21:58 +09:30
Simon Lees b3e44793c3 0.22.4 build files
Signed-off-by: Simon Lees <sflees@suse.de>
2018-08-22 07:21:29 +09:30
Simon Lees 52030b2fc1 Revert "move config/ to data/config/"
This reverts commit 5cb6e1e8fa.
2018-08-22 07:19:10 +09:30
Chris Michael 5af9485c4f enlightenment: Ensure we have a valid menu comp object before calling
Summary:
evas functions

This fixes an issue when quickly mousing through menus can cause a
segfault in Enlightenment due to menu->comp_object being NULL

ref T7030

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric

Tags: #efl, #enlightenment22

Maniphest Tasks: T7030

Differential Revision: https://phab.enlightenment.org/D6641
2018-08-02 10:08:34 -04:00
Carsten Haitzler ae64aabfa2 e pixmap - follow on from previous commit to finally fix pixmap tracking
follow on form 4c7b798b45 - really
remove from the alias hash. the alias id is different and should ave
been stored in the pixmap and be deleted when pixmap is freed. i had
it right to remove from the aliases hash too, but i used the wrong id
- i used the "core" pixmap id, not alias. this tracks and uses that
alias.

this means internal windows are reliable now and dont crash...

@fix.
2018-08-02 10:08:34 -04:00
Carsten Haitzler 600a739f91 e wl - fix e pixmap tracking to remove from both aliases and pixmaps
on pixmap free only the pixmaps entry was deleted not the pixmaps hash
one. this led to lookup of stale pixmaps in the aliases hash... and
then a crash.

also use the correct local type with the correct byte order as well.
this has probably been an issue for a while but now internal windows
should work much better without crashes.

@fix
2018-08-02 10:08:34 -04:00
Carsten Haitzler f968b37095 e randr screen setup - fix disabling of scale checkbox 2018-08-02 10:04:31 -04:00
Carsten Haitzler 5347935700 e randr - fix crash when no zones found 2018-08-02 10:02:45 -04:00
Mike Blumenkrantz 894dddfcfd avoid adding render updates for deleted clients after animation completes
Summary:
in the case where deletion is deferred to preserve a window animation this
codepath may be triggered by a deleted client, at which point no render update
should occur in order to avoid compositor errors

ref f78eb3c108
fix T5203

Reviewers: ManMower, devilhorns

Reviewed By: devilhorns

Subscribers: netstar, cedric

Tags: #enlightenment-git

Maniphest Tasks: T5203

Differential Revision: https://phab.enlightenment.org/D6367
2018-08-02 10:02:20 -04:00
Daniel Zaoui 74c372c0ff Battery: fix the battery status when some battery devices are not valid
It happens that some devices are considered as batteries, even if they
cannot be charged or used as a power supply for the laptop.
The ELAN device deals with the touchpad and is a "battery". When looking
at the udev info, it appears that there is no technology present as
well as the basic battery info (energy levels).

P: /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN24CC:00/0018:04F3:24CC.0003/power_supply/hid-0018:04F3:24CC.0003-battery
E: DEVPATH=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN24CC:00/0018:04F3:24CC.0003/power_supply/hid-0018:04F3:24CC.0003-battery
E: POWER_SUPPLY_CAPACITY=1
E: POWER_SUPPLY_MODEL_NAME=ELAN24CC:00 04F3:24CC
E: POWER_SUPPLY_NAME=hid-0018:04F3:24CC.0003-battery
E: POWER_SUPPLY_ONLINE=1
E: POWER_SUPPLY_PRESENT=1
E: POWER_SUPPLY_SCOPE=Device
E: POWER_SUPPLY_STATUS=Discharging
E: SUBSYSTEM=power_supply

The issue with that kind of devices is that it confuses the battery
gadget. Since two batteries are present, the total capacity is divided
by 2, resulting in the gadget displaying only 50% when the battery is
fully charged.
To avoid this, we check that the battery technology is known.

@fix
2018-08-02 10:01:46 -04:00
Carsten Haitzler 57b2988e7a mixer - fix exe handler del and handle to stop crashes after mixer run
running emixer from the mixer module popup was resulting in crashes.
it was this exe event handler handle and leaving a dangling garbage
ptr after it was deleted.

@fix
2018-08-02 10:01:10 -04:00
Carsten Haitzler a451626cc6 emxier desktop - fix categories to match well known cat names
Audio is not a well known/valid one. AudioVideo is. fixes T5076

@fix
2018-08-02 10:00:58 -04:00
Carsten Haitzler 3cb88fe76a meson - fix dir_sysconf to be under the prefix as it was not
dir_sysconf was set to "etc". not even a /.  this meant
enlightenment_sys couldnt find/load sysactions.conf as it used a
non-relocatable fixed location due to security (setuid root) reasons.
2018-08-02 10:00:39 -04:00
Carsten Haitzler 2c52afb6f4 input method conf dialog - fix filtering of imc's to search path
if exe is not a full path it'd be filtered out... so fix and do a path
search to show imc's that can work.

@fix
2018-08-02 09:59:31 -04:00
Mike Blumenkrantz 5cb6e1e8fa move config/ to data/config/
Summary:
this is part of the datadir distribution, it should not be in a different
directory than the rest of the datadir distribution

the gnu coding standards (https://www.gnu.org/prep/standards/html_node/Directory-Variables.html)
define 'datadir' as:

The directory for installing idiosyncratic read-only architecture-independent
data files for this program. This is usually the same place as ‘datarootdir’,
but we use the two separate variables so that you can move these program-specific
files without altering the location for Info files, man pages, etc.

This should normally be /usr/local/share, but write it as $(datarootdir).
(If you are using Autoconf, write it as ‘@datadir@’.)

The definition of ‘datadir’ is the same for all packages, so you should install your
data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/.

while this text has no clear requirement or suggestion for a corresponding
repository layout, projects typically employ a certain consistency in their
repository layout both for ease of maintenance and ease of learning for new
contributors.

this project has both a data/ directory, which contains the datadir distribution,
as well as the config/ directory, which also contains the datadir distribution.
this complicates matters both for active maintainers/developers who must
remember that the repository and build tree layouts have this exception,
and for new contributors who will initially be confused by this exception

other well-organized open source projects, such as wayland, have chosen to not
use a data/ directory. these projects have the datadir distribution in the base
directory of the repositor, which is a fine practice as it maintains consistency
for the project since all the files for the datadir distribution are in the same
directory.

by applying this patch, the project will move towards a more easily readable and
learnable layout. current and future developers will no longer need to wonder why
this directory is outside of the data/ directory, and anyone attempting to reference
these files from the source/build trees will be able to do so more easily

ref D6013

Reviewers: cedric, raster, bu5hm4n

Reviewed By: raster

Subscribers: devilhorns

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D6154
2018-08-02 09:58:49 -04:00
Mike Blumenkrantz bd3e00d463 update arcconfig key:values for new phabricator api
Summary:
https://secure.phabricator.com/book/phabricator/article/arcanist_new_project/
the previous values here are no longer valid and will fail when used
with git-phab
Depends on D6154

Reviewers: cedric, raster, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: devilhorns

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D6155
2018-08-02 09:58:38 -04:00
Derek Foreman e047ed2638 compile against stable EFL again
E should probably continue to build against released EFL older than
the current interface name changes.
2018-08-02 09:58:31 -04:00
Carsten Haitzler 5155856566 compile again after efl change interface names... 2018-08-02 09:58:22 -04:00
Carsten Haitzler ff17200996 e thumb - be consistent and use safe run for restarting thumbnailer
fix inconsistency in using ecore_exe_run and the e_util wrapper...

@fix
2018-08-02 09:57:31 -04:00
Carsten Haitzler deb08178d7 e pan/scrollframe - fix garbage pan values that happen temporarily
during setup garbage pan positions can be set due to uninitialized
local variables. fix that to initialize.

@fix
2018-08-02 09:57:23 -04:00
Carsten Haitzler 65039f9c4c efm - dont add null icons to list ... fixes segv
as per title. dont store null icons in the list - not intended to be
that way.

@fix
2018-08-02 09:57:16 -04:00
Carsten Haitzler 2583e560a2 startup - fix management of timer pointer for startup timeout
fixes access of invalid timer pointer value on slow systems. (was
being caught with magic/invalid eiod before)

@fix
2018-08-02 09:57:09 -04:00
Carsten Haitzler 8b129bab79 efm - fill in some media icon blanks which lead to generic icons
i found a thumbdrive i got a generic "whatever" file icon for...
because efm media type matching didnt find an icon name for it. fix
that.
2018-08-02 09:56:47 -04:00
maxerba 46d2f7a6e5 Updating all po files 2018-08-02 09:56:09 -04:00
Carsten Haitzler 5e07f6815c edge flip while dragging with alt - fix to work again
this fixes when you drag a wqindow to screen edge and it flips if you
use alt+drag as opposed to just dragging titlebar around without alt.
it fixes it by updating your config to allow "any modifier" for edge
flips which is actually correct.

@fix
2018-08-02 09:55:47 -04:00
Chris Michael 25c2f3ab5c conf_randr: Use eina_stringshare_replace
Instead of deleteing a stringshare and re-adding it, just use
eina_stringshare_replace

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2018-08-02 09:53:50 -04:00
Carsten Haitzler eb2bdeb443 e mouse bindings - fix wheel conflict check to check only dir 0
allows ylou to bund extra wheels for desktop switching ... much
better. no conflicts with signals :)
2018-08-02 09:53:42 -04:00
Carsten Haitzler 781f4eb70b e menus - when filtering for exe handle quotes, escapes etc.
handle quotes, escapes and so on for the shell command so you can do
things like Exec="ls" and it still work. this will also allow
executables with spaces in them as well with quotes or escapes as
backslash.

this fixes T6787
@fix
2018-08-02 09:53:17 -04:00
Al Poole 04c8ec9c39 AUTHORS: use netstar's real name. 2018-08-02 09:51:58 -04:00
Derek Foreman 768e64bd2f Fix recent typo in mirror object alpha setting
ref 6a04bfb0ff
2018-08-02 09:51:55 -04:00
Derek Foreman 14c04b8777 Fix single frame broken render on wayland client opaque region change
Turns out this is called too late in the render pass and a single frame
can occur with the old border setting.  This can lead to nasty flicker
artifacts.
2018-08-02 09:51:54 -04:00
Derek Foreman b88d080742 Move alpha set for mirrors out of pixels_get callback
the pixels_get callback fires too late for this to work properly, so
set it in e_comp_object_dirty() instead.
2018-08-02 09:51:52 -04:00
Derek Foreman 34c28af7dc Remove useless pixels_dirty_set from mirror_pixels_get
This is implicit at the end of render.
2018-08-02 09:51:50 -04:00
Alastair Poole 6a1f91ae0b e_ckpasswd_main: Fix build on OpenBSD. 2018-05-31 12:34:40 +01:00
Simon Lees 52713ce0db
22.3 NEWS 2018-03-22 20:36:31 +10:30
Simon Lees cd4c2cee3f
22.3 build file bump 2018-03-22 20:33:14 +10:30
Carsten Haitzler 2a0f90dab3 build - make pam a requirement on non-bsd unless disabled
this shou,ld provide a compile failure for when no pam headers are
found and thus pam not enabled if we need pam for auth (i.e. linux).
so it'll be harder to foot-shoot now.also an add-on fix to T6779
2018-03-22 12:18:03 +09:00
Carsten Haitzler 3bdcb7a0c2 move from data_home/apps/defaults.list to config_home/mimeapps.list
this moves to the newer mimeapps.list file in ~/.config from the older
defaults.list. it also provides a migration (copy file ovr if target
doesnt exist on e startup).

this fixes T6784

@fix
2018-03-22 12:17:03 +09:00
Carsten Haitzler 8b03df8b30 e desklock pam error - go back to previous text
since we had translations of this, go back to the prior text so we
keep these. also dont show if using a personal password. related to
fixing T6779
2018-03-22 12:16:47 +09:00
Carsten Haitzler 71d481b4c4 desklock - make it fail to lock on non-bsd platforms if no pam support
if no pam support detected at build time, dont even lock to begin
with. this should fix T6779

yes - even better is making pam a requirement for building and to be
optionallhy disabled, but then even if disabled we still need this check.

this has been a long long long standing bug in e. i think this is why
we had some reports of "any password unlocks e" - because it was built
without pam support and before auth was always succeeding without pam.
now it is always FAILING instead (which is probably better).

@fix
2018-03-22 12:16:32 +09:00
Carsten Haitzler 0d9a763165 fix autofoo build to match e auth patch backport
the autofoo wasnt updated with the patch and peolpe are using the
autotools build thus this btoke e lockscreen auth but not building the
binary.
2018-03-22 12:11:23 +09:00
Derek Foreman 3c5b541385 Revert no-longer required pulseaudio hack for wayland
The problem this solved is now handled elsewhere.

Reverts what's left of commit 6eefae4822
2018-03-20 12:32:01 -05:00
Simon Lees 256236eba3
22.2 NEWS 2018-03-13 13:51:22 +10:30
Simon Lees ffec2e91e7
22.2 build file bump 2018-03-13 13:38:02 +10:30
Carsten Haitzler 1296061c19 systray - fix sizing of tray so you can see the icons
this should also address the last comment with a fix T5910
2018-03-13 13:28:54 +10:30
Carsten Haitzler eba3bec170 e systray/indicator protocol pixmap data fetch fix
this fixes several issues in the pixmap data fetching

1. it over-read the input buffer assuming ints count instead it has
byte count for length
2. it would leak memory if you have multiple pixmaps and the largest
was not the first found.
3. it always swapped pixel bytes instead of only on little endian.

this should fix T5910
2018-03-13 13:25:25 +10:30
Mike Blumenkrantz 348e57123c remove adding theme extension for "default" theme on startup
elm_theme does this automatically so there should never be a need for it
2018-03-02 11:14:27 -05:00
Carsten Haitzler 3c4e25360e e auth - move all auth to child process only (e_ckpasswd).
this should fix T6211 ensuring no drivers can cause a segfault at exit
time. this also happens to remove the enlightenment_sys -z option for
openbsd and unifies all the passwd checking into the single
enlightenment_ckpasswd binary util (that has ifdefs for openbsd,
freebsd and linux pam in it).

this simplifies code removing a mess of auth being done in multiple
places, removes special fork vs run 1 exe or a different exe in
different cases making it more maintainable. yes - this requires
enlightenment_ckpasswd to be setuid root, but it already was when it
was built.

@fix
2018-03-02 11:14:20 -05:00
Al Poole e8132e8723 sysinfo: fix linux build. 2018-03-02 11:14:08 -05:00
Al Poole da19c3cd6a sysinfo: fix cpuclock for BSD.
This lets us use the cpuclock gadget on FreeBSD machines.

@fix T6259
2018-03-02 11:14:04 -05:00