Commit Graph

20585 Commits

Author SHA1 Message Date
Carsten Haitzler 027095b68e e system - use ERR - its not the eina log - it's already a custom one
i already made ERR do fprintf to stderr... so use it :)
2020-04-22 13:44:01 +01:00
Carsten Haitzler fc6c423a9f e system main - fix system.conf parsing to parse all of it
forgot my for loop.. :)

fixes T8675
2020-04-22 13:42:32 +01:00
Carsten Haitzler 2e75a9410e e sys man - double check root homedir to be paranoid 2020-04-22 13:15:08 +01:00
Carsten Haitzler ac37da4167 e sys inout - abort on messages more than 1m in size
i never see a need for messages more than 1m in size so lets just
abort on them to limit abuse

fixes T8677
2020-04-22 13:00:55 +01:00
Carsten Haitzler 5fb2fccd70 e sys main - double check return from getpwent homedir 2020-04-22 12:37:51 +01:00
Carsten Haitzler d42605f5c0 e sys main - change cwd to avoid loading .so's in ./
fixes T8676
2020-04-22 12:35:32 +01:00
Carsten Haitzler fc26d91ac0 e sys l2ping - handle null params
fixes T8674
2020-04-22 12:25:36 +01:00
Carsten Haitzler 6926d1d338 e sys l2ping - limit devv string scanf size to buffer size
fixes T8673
2020-04-22 12:20:54 +01:00
Carsten Haitzler c714fb8b61 e lang wiz - add sys default as first item properly... 2020-04-21 16:03:25 +01:00
Alastair Poole d0b2f3db0c e_system: When setuid, set home also.
This ensures we have a matching $HOME when using setuid, without
which can potentially cause issues in eina_vpath on some
systems (FreeBSD as example).
2020-04-21 15:56:26 +01:00
Carsten Haitzler 946c9dd340 wizard - modifier choice - broken and not that useful
not all mouswe bindings use alt ... thus this kind of doesnt make
sense.... it also makes it harder to tell people what to do like
alt+left mouse drag anywhere to move a window.
2020-04-21 15:49:51 +01:00
Carsten Haitzler 4b47dab0a2 systray
fix serialised image data to be premultiplied alpha...
and add printf debug so peolpe can reports what they see in future.
2020-04-21 14:00:57 +01:00
Carsten Haitzler bd97c74492 e alert - in case of crash use e system in new alert mode
this forces all ddc/backlight devices to max when discovered so you
can always see the alert.
2020-04-21 03:01:54 +01:00
Carsten Haitzler 5d6424e3bc backlight - if bl devices not there yet for a zone then fix them later
if bl devices added later - sync them up to the desired backlight leave
when that happens and ensure we store the desired level...l
2020-04-21 01:35:57 +01:00
Carsten Haitzler 3cc7a9d1f8 systray - make other apsp like teams and discord display/work 2020-04-21 01:11:54 +01:00
Christopher Michael 77f8008334 e_pixmap: Missed one on that variable change 2020-04-20 18:55:51 -04:00
Christopher Michael e365138a2b e_pixmap: No need for this variable here
We only ever used this var Once in this func...
2020-04-20 18:52:08 -04:00
Christopher Michael 7c678e5762 e_pixmap: Final formatting
This code is now readable in a terminal...yay !! :)
2020-04-20 18:51:57 -04:00
Christopher Michael acf622b31b e_comp_wl: Remove EINA_UNUSED from used parameter
'client' is potentially used here if we have an error
2020-04-20 11:58:36 -04:00
Christopher Michael 3af807dafa wl-wl: Remove commented out code and fix formatting 2020-04-20 11:58:36 -04:00
Christopher Michael b7ecc19c61 e_comp_object: Minor formatting fix 2020-04-20 11:58:36 -04:00
Carsten Haitzler fee794af29 comp - handle possible case where we're grabbed - ungrab first 2020-04-19 23:52:34 +01:00
Carsten Haitzler 1d7adf0626 comp - blackwin - only use compositor size and not 32k x 32k 2020-04-19 23:38:04 +01:00
Carsten Haitzler e66af58795 e - restarts - if theme supports make it totally seamless
if theme doesn't support, fade-in will not happen (it'll just appear),
but if it does... e will fade to black for a restart, then fade back
in nice and cleanly.
2020-04-19 23:14:35 +01:00
Carsten Haitzler 24524001c4 e - restart - fix restoring of visible virtual desktop
e now (in x mode) will restore virtual desktop. not in wl at this
stage as i think i need to work on a proper serialised sate file...
2020-04-19 20:17:19 +01:00
Carsten Haitzler 4ff2b3e4c7 e main - remove unused env vbar stuff since we dont exec ourselves 2020-04-19 19:10:50 +01:00
Carsten Haitzler 97d98c9beb desklock - remove commented out getenv for locked state 2020-04-19 19:02:30 +01:00
Carsten Haitzler 466d95e2f6 whitespace-- 2020-04-19 18:49:52 +01:00
Carsten Haitzler d0e7a1907c emixer - actually count cards 2020-04-19 18:48:15 +01:00
Carsten Haitzler bb8f1a84ee emixer - if no cards are found put "not connected" there 2020-04-19 18:45:27 +01:00
Carsten Haitzler d70e62350b fix settings not appearing on current desk if not there
fixed T8658
2020-04-19 16:23:38 +01:00
Carsten Haitzler 61edb7bd8c mixer - emixer - add padding around the list items to space things out
a bit more. use frames with pad_medium style
2020-04-19 15:42:33 +01:00
Carsten Haitzler 6d8b24aef5 e - profile send to efl wins - fall back to getting ellm profile
use elm profile THEN .. if that fails use standard.
2020-04-19 13:44:32 +01:00
Carsten Haitzler b88b7bd1c4 e profile send - add debug to let you know what profile e is sending app 2020-04-19 12:36:59 +01:00
Carsten Haitzler 19b76797e1 shot - fix upload args checks - typo in coverity fix 2020-04-19 12:20:35 +01:00
Carsten Haitzler 91bc151878 fileman - handle another error case to not pass null
fix CID 1425226
2020-04-19 02:41:59 +01:00
Carsten Haitzler 2ccfec3dad e ckpasswd - handle read errors on stdin
error path - not going to be a problem but in theory... it's there.

fix CID 1425211
2020-04-19 01:58:44 +01:00
Carsten Haitzler 23493550b2 wp gen - remove unused var assignments
these ren't used, so

fix CID 1425228 1425225
2020-04-19 01:48:28 +01:00
Carsten Haitzler d5d53a0e96 wl - handle logicaly dead code by doing the most logical thing
it would seem it wants to send it being allowed if it has handled the
case, so get rid of logically dead coe and make it not dead...

fix CID 1403932
2020-04-19 01:45:10 +01:00
Carsten Haitzler 3d6597d3ec comp wl - add comment to indicate args are in the right orer...
clarify CID 1403953
2020-04-19 01:33:06 +01:00
Carsten Haitzler 01a145811f shot upload - fix close of fd -1 - harmless but wrong
fix CID 1425205
2020-04-19 01:24:46 +01:00
Carsten Haitzler f4c49a071f e auth - also use wrapped memory zeroing in polkit and normal auth
fix CID 1425207
2020-04-19 01:17:39 +01:00
Carsten Haitzler 569146ed6a shot - handle error path and don't double close fd
fix CID 1425213
2020-04-19 01:10:55 +01:00
Carsten Haitzler 8f019a4ef7 comp wl - fix sync with dmabuf code to not have early return
coverity pointed out dead code - code wss actually wrong. it'd have
skippedlinear on older proto

fix CID 1425218
2020-04-19 00:57:43 +01:00
Carsten Haitzler 3b15f1bb8f e win - fix dead code
fi CID 1425219
2020-04-19 00:50:11 +01:00
Carsten Haitzler f1e899fee0 e system ddc - handle error case of alloc fail and dont deref null
fix CID 1425220
2020-04-19 00:48:07 +01:00
Carsten Haitzler 7d5f64430b shot upload - handle invalid args even though they never will be
since the caller is e's shot module, they will be sane, but coverity
in theory is right.

fix CID 1425221
2020-04-19 00:44:48 +01:00
Carsten Haitzler 8931a333eb e system - handle /dev/null not opening
fix CID 1425222
2020-04-19 00:39:51 +01:00
Carsten Haitzler f9454fcb65 e win - remove logically dead code
fix CID 1425227
2020-04-19 00:32:51 +01:00
Carsten Haitzler 948d064561 fileman - handle rare path where dev may not be found
fix CID 1425230 1425226
2020-04-19 00:32:38 +01:00
Carsten Haitzler 65f9b94d2b wp import dialog - fix string leak in error case
fix CID 1425206
2020-04-19 00:11:56 +01:00
Carsten Haitzler 4749e1e065 backlight - fix string ptr leak
fix CID 1425215
2020-04-19 00:06:08 +01:00
Carsten Haitzler 1617659255 polkit - fix error case leak
error path leak found by coverity

fix CID 1425216
2020-04-19 00:02:21 +01:00
Carsten Haitzler a6a10d405d e wp gen tool -fix theoretical leak on tool exit
theoretical leak - but not really as porcess exits anyway

fix CID 1425217
2020-04-18 23:31:11 +01:00
Carsten Haitzler 5ac19b1372 shot - fix leak of img data in error path
fix CID 1425223
2020-04-18 23:27:39 +01:00
Carsten Haitzler 5e0bb63118 e system storage - fix double free found by coverity
fix CID 1425224
2020-04-18 23:19:54 +01:00
maxerba cac4c69f74 Fixed error message's lines stick each other 2020-04-18 09:54:14 +02:00
Christopher Michael d37ffa3599 e_comp_wl_dmabuf: Fix another formatting snafu
NB: No functional changes
2020-04-17 16:21:50 -04:00
Alastair Poole 909cb2be30 e_shelf: Improve auto hide behaviour.
Improve auto hide behaviour. Allow the user to re-enter an
auto-hiding shelf as many times as he/she likes. This fixes the
issue where hovering back onto such a configured shelf causes
the shelf to hide and then animate.

This needs to move to edje. As per the TODO task.
2020-04-17 21:18:41 +01:00
Christopher Michael 2e14660bec e_comp_wl_dmabuf: Fix minor snafu from formatting patch 2020-04-17 16:15:14 -04:00
Christopher Michael dc013b8626 e_comp_wl_dmabuf: Format this file properly
NB: No functional changes (yet), just formatting to make this code
remotely readable.
2020-04-17 16:12:55 -04:00
Carsten Haitzler bc28793796 efm - fix eio usage to notuse efl apis in a thread
the heavy func is in a theread and thus needs to only stick to things
that will be thread safe...
2020-04-17 20:36:22 +01:00
Carsten Haitzler 6ca000a257 only define beta api defines if not defined in e.h 2020-04-17 20:20:50 +01:00
Carsten Haitzler bcd612e78d revert last focus fixes - they both end up worse than before.
Revert "fix spurious pointer jumps due to previous commit bugfix"
This reverts commit 550de9a680.
Revert "focus - fix emacs buffer switch focus set reported by felipe"
This reverts commit 690ab94c06.
2020-04-17 19:02:23 +01:00
Carsten Haitzler 550de9a680 fix spurious pointer jumps due to previous commit bugfix
690ab94c06 fixed one bug and added
another - this fixes the other spurious pointer warps.
2020-04-17 18:50:13 +01:00
Alastair Poole 876f509be4 sysinfo: Don't use fallback when not implemented.
There is no fallback mechanism for BSD systems. We need to avoid
polling here as it will break E on first poll of data.

Essentially, if we fail to find a battery, we use a broken
fallback mechanism which breaks E. Don't do this :)
2020-04-17 15:25:37 +01:00
Carsten Haitzler 3b705cbdd9 wizard - on request disable autoraise on pointer focus 2020-04-16 13:13:25 +01:00
Carsten Haitzler e07e56036a e - stop trying to fixup xdg runtime dir env var - leave it as is
so it's consistently broken .. or not. os/distro should just set this
for login sessions.
2020-04-16 13:09:04 +01:00
Carsten Haitzler be8286e154 emixer - limit icon sizes in toolbar to be... nicer 2020-04-16 10:32:18 +01:00
Carsten Haitzler 690ab94c06 focus - fix emacs buffer switch focus set reported by felipe
emacs window (not in terminal). now in one:
ctrl+x 5 2 <- open new buffer

now we have it try switch to the other buffer:
ctrl+x 5 o

broken ... now fixed.

@fix
2020-04-15 18:04:49 +01:00
Carsten Haitzler 1edddcda66 e system rfkill - use list command for old rfkill output
some distros use an ancient rfkill without default listing of devices.
this adapts to work there.

@fix
2020-04-15 15:31:14 +01:00
Simon Tischer 4acee9e448 batman - fix one more slider issue using mouse wheel
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11710
2020-04-15 08:51:14 -04:00
Simon Tischer 118467697b shot - make it full translateable
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11708
2020-04-15 06:53:23 -04:00
Carsten Haitzler c0ee372ba1 e dnd - add timeout in case we don't get a finished from the other end
2 second timeout seems reasonable. could be less... but should avoid
hangs.
2020-04-14 19:30:02 +01:00
Carsten Haitzler f66ef70770 use SIL/OFL fonts for shot and be clear on the topaz font GPL-FE 2020-04-14 13:51:50 +01:00
Simon Tischer 06b7b9205a (e)mixer - add possibility to translate strings
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11702
2020-04-14 08:17:49 -04:00
Carsten Haitzler a59d3c2a68 typo-- 2020-04-13 21:07:33 +01:00
Christopher Michael 4e626b8f04 bluez: Fix typo spotted by jf_simon 2020-04-13 14:48:08 -04:00
Simon Tischer ab257692f6 wallpaper selector - fix preview of personl wallpapers
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11694
2020-04-13 12:59:40 -04:00
Alastair Poole f7654e7681 e_entry_dialog: Fix entry sizing.
Fixes "Add shelf" and "Rename shelf"...
2020-04-13 14:06:09 +01:00
maxerba 76384d7ace Fixed chinese locale definition from "Traditional Chinese" to "Simplified Chinese" as reported from 玉堂白鹤 2020-04-13 14:17:12 +02:00
Simon Tischer 5853fca2d4 netstatus/batman/pager - slider stepping fixes with mousewheel
detail work on pager(gadget) settings

- changed indicator format to slider format
- changed steps to make more sence

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11693
2020-04-13 08:09:55 -04:00
Carsten Haitzler 2f52f093b6 simplify stacking rules to be a bit dumber so stacking works better
fixes T8652
2020-04-12 16:52:40 +01:00
Alastair Poole 2f27fe1430 conf_theme: fix small logic issue.
Obtain evas before using it.
2020-04-12 14:22:46 +01:00
Carsten Haitzler 42100a1ae7 e - fix fullscreen state revert on focusing of another window if child
check the newly focused window is not part of a parent tree back to a
fullscreen window e is considering unfullscreening on loss of focus.

fixes T8651

@fix
2020-04-11 23:11:33 +01:00
Simon Tischer 136b30d354 temperature module settings - sizing/align optimizations
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11685
2020-04-11 15:23:27 -04:00
Simon Tischer 71a67823c9 shelf settings - sizing/align optimizations
make the dialog resizeable
the position tab is not the beste

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11683
2020-04-11 13:05:59 -04:00
Simon Tischer 23a6a67290 various settings dialogs: sizing/align optimizations
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11682
2020-04-11 11:35:32 -04:00
Simon Tischer 6c1a623e01 settings -> window: settings window align optimizations
settings ->  file manager window align optimizations

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11681
2020-04-11 10:45:12 -04:00
Simon Tischer 37ae415385 sysinfo/thermal - fix slider stepping with mouse wheel
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11680
2020-04-11 09:14:01 -04:00
Christopher Michael 30395f481d conf_theme: Reduce calls to e_win_evas_win_get
There is no point in calling this function multiple times here when we
can call it once, store the result, and reuse that.
2020-04-10 15:15:15 -04:00
Christopher Michael 63e73d9f47 conf_theme: Reduce calls to e_win_evas_win_get
There is no point in calling this function multiple times here when we
can call it once, store the result, and reuse that.
2020-04-10 15:12:41 -04:00
Simon Tischer c1d096bec4 theme selector - remove duplicate code
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11677
2020-04-10 07:19:34 -04:00
Simon Tischer 39384e26c3 theme selector - small optimizations
theme selector - small optimizations

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11674
Differential Revision: https://phab.enlightenment.org/D11675
2020-04-10 07:00:02 -04:00
Simon Tischer cf566306c6 wallpaper selector - small optimizations
wallpaper selector - small optimizations

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11673
2020-04-10 06:58:19 -04:00
Alastair Poole d5790f65fb sysinfo: Fix swap for FreeBSD and DragonFlyBSD. 2020-04-09 16:59:06 +01:00
Riccardo Calixte 61b19484bf Updating Pithos due to MPRIS rename
Sorting music players alphabetically

Pithos 1.5.0 renames the MPRIS app-id, this is the update.
Also, sorting the list of music players alphabetically.

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D10349
2020-04-09 08:00:49 -04:00
Simon Tischer 4a7ebe86bc emixer - add icons to toolbar
Differential Revision: https://phab.enlightenment.org/D11658
2020-04-08 12:30:02 -04:00
Carsten Haitzler b5a6635137 gad bar - make right menu items more obvious and simple 2020-04-08 10:55:31 +01:00
Carsten Haitzler b5fa86e7f5 e system - disable singleton mode code - fewer pluses than minuses 2020-04-08 09:39:23 +01:00