Carsten Haitzler
680dee1daf
efreet - work around conconforming apps putting startupwmclass in quotes
...
riot does
StartupWMClass="Riot"
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
does not allow for quoting here. you can quote fields in an exec line
- for shell and replacement purposes, but not other fields like this
above. this is a workaround a broken app so matching window to desktop
file works.
@fix
2020-04-25 14:44:23 +01:00
Carsten Haitzler
7096634a39
efreet - consider ctime changes as changes too
...
some distros do odd things with source desktop files and set their
mtime timestamps to 0... thus we can't tell that there is a change.
thier ctimes do change, so consider the newer of either of these as
the modification time to not miss updates
@fix
2019-11-16 13:02:10 +00:00
Vincent Torri
a5267d3d9c
remove Evil.h when not necessary, include evil_private.h when necessary
...
Test Plan: compilation
Reviewers: zmike, raster, cedric
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8925
2019-05-20 09:10:00 -04:00
Vincent Torri
0cdd501246
EFL For WIN32: Replace HAVE_EVIL define with _WIN32
2017-09-22 05:06:10 -05:00
Carsten Haitzler
b8a760ed58
efreet - dont complain if INTERNAL x extension hash of desktop is NULL
...
asking for an x- field from a desktop shouldnt result in null safety
checks IF the x hash is null - it's fine if it's null - that field
just doesn't eixst. if other fields were in the x hash but the desired
one wasn't it'd not complain, so why complain if there is just no x
hash?
2017-07-21 17:02:43 +09:00
Mike Blumenkrantz
200f45c2b5
efreet: add locking for efreet_desktop_x_field_get()
...
in a threaded environment, reading from a hash is not atomic and is
subject to race conditions
@fix
ref 39417cf0ea
2016-01-25 11:27:02 -05:00
Mike Blumenkrantz
9aee7c249a
efreet: reject invalid "" data for Efreet_Desktop->x hash
...
ref T3096
@fix
2016-01-25 11:27:01 -05:00
Carsten Haitzler
5263e61585
efreet desktop tracking - fix monitoring of dirs of custom desktops
...
@fix
this is wrong - start monitoring every/any dir in which a desktop file
exists that we load a desktop file from. imagine you browse directories
in efm with lots of desktop files in them - we end up monitoring lots
of directories that we then rememebr and don't un-monitor. this
disables monitoring of dirs from which we load a .desktop file from to
fix this.
2015-12-02 20:53:27 +09:00
kabeer khan
ee3bcaf71d
efreetd_cache: Resolved TODO checking symbolic link to monitor real path
...
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: englebass
Reviewed By: englebass
Subscribers: devilhorns, cedric
Differential Revision: https://phab.enlightenment.org/D1625
2014-11-18 12:24:06 +01:00
Sebastian Dransfeld
d1207854f4
efreet: fix show/nowshow
...
This partly reverts c700192
, as the change here was wrong.
2014-09-30 23:19:57 +02:00
Sebastian Dransfeld
b624345bbd
efreet: improve messages
2014-09-29 09:39:38 +02:00
Sebastian Dransfeld
793fd5e847
efreet: Implement fields added by desktop spec 1.1
2014-09-25 08:47:45 +02:00
Sebastian Dransfeld
c700192736
efreet: Accept both only_show_in and not_show_in
...
In one file it is allowed with both OnlyShowIn and NotShowIn, and it is
the user who has to ensure that these lists don' clash.
@fix
2014-09-25 08:47:45 +02:00
Guillaume Friloux
42c32b48a6
Simplify code of efreet_desktop_environment_set().
2014-01-01 21:27:19 +01:00
Sebastian Dransfeld
575f466a10
efreet: improve locking
...
Do find and ref inside lock, so no one can ref-- after we find desktop
2013-11-29 22:20:50 +01:00
Sebastian Dransfeld
e610047ef3
efreet: store volatile value locally before return
2013-11-21 09:29:25 +01:00
Sebastian Dransfeld
39417cf0ea
efreet: Make efreet_desktop threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
5efd817e57
efreet: Formatting
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
c99b028a7c
efreet: Release log domain on evil error
2013-06-20 11:56:46 +02:00
Gustavo Sverzut Barbieri
0a2d116119
efl: eina_alloca.h to simplify alloca() usage.
...
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/
SVN revision: 82082
2013-01-03 15:10:34 +00:00
Gustavo Sverzut Barbieri
4bc0210bd3
efl: merge efreet.
...
seems to be fine, pass distcheck and friends. please report.
changes:
- documentation hierarchy fixes
- replaced __UNUSED__ with EINA_UNUSED
- replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet"
SVN revision: 81889
2012-12-29 23:04:40 +00:00