Commit Graph

8988 Commits

Author SHA1 Message Date
Elyes HAOUAS 28080ccc04 tree-wide: get rid of trailing whitespace (last part)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11832
2020-05-14 14:17:19 +02:00
Elyes HAOUAS 4d51984286 tree-wide: get rid of trailing whitespace (part 11)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11831
2020-05-14 14:17:17 +02:00
Elyes HAOUAS 65441c214b tree-wide: get rid of trailing whitespace (part 10)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11830
2020-05-14 14:17:15 +02:00
Elyes HAOUAS bead80ca23 tree-wide: get rid of trailing whitespace (part 9)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11829
2020-05-14 14:17:13 +02:00
Elyes HAOUAS 0a9e0003d8 tree-wide: get rid of trailing whitespace (part 8)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11828
2020-05-14 14:17:10 +02:00
Elyes HAOUAS 47859e8bae tree-wide: get rid of trailing whitespace (part 7)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11827
2020-05-14 14:17:08 +02:00
Elyes HAOUAS f47d1a789e tree-wide: get rid of trailing whitespace (part 6)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11825
2020-05-14 13:49:18 +02:00
Carsten Haitzler 6fad7e2a76 Revert "e_client_volume: Reparent sink if a new window comes and match this one"
this is also causing issues. segv's. asan is finding them. re-open D8929

This reverts commit eae3cd37e8.
2020-05-14 12:20:53 +01:00
Carsten Haitzler 344a6acc36 e env var config fialog - fix potential null access
coverity complained. it's right. fix CID 1428807
2020-05-14 12:18:00 +01:00
Ross Vandegrift 765d8e1d3d Don't set x-scheme-handler/file for File manager app.
Summary:
File managers should handle inode/directory, not
x-scheme-handler/file.  Registering x-scheme-handler/file means that the file
manager app should open all "file://" URLs.  And because of some details of the
FDO spec, scheme handlers override mime-type handlers.  As a result, other
desktop environments can start using a file manager to open all local files.

fixes T7521

Reviewers: devilhorns, raster

Reviewed By: raster

Subscribers: cedric, zmike

Tags: #enlightenment-git

Maniphest Tasks: T7521

Differential Revision: https://phab.enlightenment.org/D10244
2020-05-14 11:23:04 +01:00
Michael Bouchaud (yoz) eae3cd37e8 e_client_volume: Reparent sink if a new window comes and match this one
Summary:
 This commit avoid multiple windows got the same sink. Like launching
 rage from terminology, gstreamer sink could be associated with terminology
 and rage window too.

Reviewers: raster, devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D8929
2020-05-14 11:23:04 +01:00
Elyes HAOUAS 7071faca6c e_mmx: & evry: Remove unneeded white spaces
Remove unnecessary white spaces

Differential Revision: https://phab.enlightenment.org/D11779
2020-05-14 12:17:49 +02:00
Elyes HAOUAS 153f479d3f tree-wide: fix typos all over the place
Fix some typos

Differential Revision: https://phab.enlightenment.org/D11778
2020-05-14 12:04:51 +02:00
Alastair Poole 8d72d36246 e_conf_env: Display variable and assignment.
When setting a custom environment variable display the variable
name and the value in NAME=VALUE format within the UI list. If
the value string is long then use an ellipsis. Adds some clarity.
2020-05-12 19:09:03 +01:00
Carsten Haitzler 567b12ab06 tiling - untrack clients we have restored
this should fix a crash on shutdown and other related issues where
tiling may still watch after it's released a window.

@fix
2020-05-11 11:47:20 +01:00
Carsten Haitzler 8392fc4769 emix - fix symbols to point to correct extern sym 2020-05-10 18:11:43 +01:00
Carsten Haitzler 9c85c91b4e emixer - dont mul by elm scale - toolbar does this 2020-05-05 15:28:32 +01:00
Alastair Poole fbf077380e emixer: Let toolbar scale.
As we scale, toolbar icons scale.
2020-05-05 12:48:14 +01:00
Carsten Haitzler a99bb0e179 fix errant connman dialog on connman mod shutdown
fix T8697
@fix
2020-05-05 12:35:00 +01:00
Carsten Haitzler 678103c73b cpufreq - handle multiple instances right....
don't double free...

@fix
2020-05-04 22:27:27 +01:00
Carsten Haitzler cbca5fa3f3 tasks - apply min size to icon only mode too 2020-05-03 21:07:01 +01:00
maxerba 2305f7a273 Updating french and italian translations 2020-04-27 16:41:18 +02:00
Carsten Haitzler 9d3b32f68b shot - reset crop every time not only if params are passed 2020-04-26 00:34:38 +01:00
Carsten Haitzler 785219f3c6 efm nav menu - fix to not count filtered out and dotfiles in count 2020-04-24 11:48:29 +01:00
Carsten Haitzler 8bf18495f4 bz5 mod - fix coverity warning about scanf
while this will never be a problem as its internal messages that are
well formatted... this does make coverity happy

fix CID 1425458
2020-04-23 00:51:53 +01:00
Carsten Haitzler c714fb8b61 e lang wiz - add sys default as first item properly... 2020-04-21 16:03:25 +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 3cc7a9d1f8 systray - make other apsp like teams and discord display/work 2020-04-21 01:11:54 +01:00
Christopher Michael 3af807dafa wl-wl: Remove commented out code and fix formatting 2020-04-20 11:58:36 -04: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 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 01a145811f shot upload - fix close of fd -1 - harmless but wrong
fix CID 1425205
2020-04-19 01:24:46 +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 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 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 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 5ac19b1372 shot - fix leak of img data in error path
fix CID 1425223
2020-04-18 23:27:39 +01: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
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 be8286e154 emixer - limit icon sizes in toolbar to be... nicer 2020-04-16 10:32:18 +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 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
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
Alastair Poole 2f27fe1430 conf_theme: fix small logic issue.
Obtain evas before using it.
2020-04-12 14:22:46 +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 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 ccbbe5a459 wayland xdg positioner - fix to handle resize constraints
this fixes T8295

@fix
2020-04-07 10:40:12 +01:00
Simon Tischer 039f96df91 emixer - add icon for playback device
Summary:
add playback icons

emixer - add playback icons

Reviewers: devilhorns, raster

Subscribers: raster, bu5hm4n, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11640
2020-04-06 14:27:44 +01:00
Simon Tischer 90b36f64c0 thermal/netstatus/memusage/cpumonitor - allow setting to open although the popup is visible
Reviewers: devilhorns, raster

Reviewed By: raster

Subscribers: netstar, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11639
2020-04-06 10:28:12 +01:00
Simon Tischer 66f0eb79b1 Wallpaper Selector - add button for online themes/wallpapers using extra (extra.e.org) also for advanced
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11648
2020-04-04 15:19:36 -04:00
Simon Tischer 8194f7c663 cpuclock - allow setting to open although the popup is visible
Reviewers: devilhorns, raster

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11633
2020-04-03 10:24:12 +01:00
Alastair Poole b320eda808 emixer.png: install in correct place.
Icon not displaying. Install in hicolor as per FDO.
2020-04-02 18:21:38 +01:00
Simon Tischer 43ed98beff Wallpaper/Theme Selector - add button for online themes/wallpapers using extra (extra.e.org)
Reviewers: devilhorns, raster

Reviewed By: raster

Subscribers: ProhtMeyhet, raster, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11561
2020-03-29 11:16:46 +01:00
Carsten Haitzler 6435e9a075 emixer - desktop - limit groups to one only and only show in e 2020-03-25 17:11:32 +00:00
Carsten Haitzler 0a4b0962b6 dont segv on shelf settings dialog closing beofre shelf content
fixes T8635
2020-03-22 14:33:22 +00:00
Carsten Haitzler 385d26d961 systray - add a little logging and explicit stupid checks 2020-03-15 20:53:18 +00:00
Carsten Haitzler 1fdaa2a113 systray - handle other non conforming notifier clients
serviceshould be org.xxxx or whatever... some do /org/... some do
:1.89 and some comply with the std... so be more forgiving...
2020-03-15 20:43:34 +00:00
maxerba 9764dd76a7 Updating french translation 2020-03-11 17:56:53 +01:00
Carsten Haitzler 4a69f273fa shot - typo in tool shadow. fix to have right mirror flip 2020-03-07 18:34:04 +00:00
Carsten Haitzler 3a3257e789 personal app editor - force size up to be sanely sized for use 2020-02-18 10:55:45 +00:00
Carsten Haitzler a3ae1b0ac2 e auth - use our memclear and fill it out with modern zeroing methods
so memset_s still doesn't get detected (add a check anyway), but there
are other alternatives, so detect and use them if found
(explicit_bzero, explicit_memset) in addition to the generally
"practically works" memset ptr method we had and.. just to be extra
safe add an asm memory barrier to this fallback. also.. mlock the
passwd memory in lokker (if it doesn't work - don't worry - there is
nothing we can do, so we did our best) to avoid this memory gettign
swapped etc.
2020-02-18 10:29:43 +00:00
Carsten Haitzler 276eb5b091 pager - remove unsued vars from segv fix 2020-02-16 12:45:26 +00:00
Carsten Haitzler 20aaa9464b pager - new gad - fix segv on vdesk size config change
match old pager gadget logic as it's happy to not crash when the
virtual desktop count config changes

@fix
2020-02-16 01:18:23 +00:00
Carsten Haitzler 8f535e523f backlight - removed useless bits of backlight config dialog
unused or not useful or commented out code - remove.
2020-02-13 18:21:40 +00:00
Simon Tischer 19fe001f4f Backlight Gadget slider fixes
Summary:
What i have done:

  - Open slider will update using mouse wheel over light bulb
  - Open slider will update using keybindings
  - Slider shows now a value between 1 and 100 (no double value is displayed anymore)
  - Removed unnecessary code for shelf module
  - removed code for buggy popup using keybindings (may add later an option for showing popup on backlight change)

I am still learning. please consider :)

Greetings Simon

Reviewers: bu5hm4n, morlenxus, devilhorns, raster

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D11065
2020-02-06 14:18:53 +00:00
Carsten Haitzler 37f32ac73a backlight - new gad - use zone of gadget not current zone
this is correct and maatches the shelf gadget code that always uses
the zone of the shelf not "current zone" for backlight control.
2020-02-03 10:29:21 +00:00
Carsten Haitzler 8a2c4ea70e cpuclock - fix default freq to be in khz as it should be - fix warn 2020-01-15 19:06:24 +01:00
Carsten Haitzler 8dd052e6e3 cpufreq - fix ifdefs for unused fucn on bsd 2020-01-15 19:06:24 +01:00
Carsten Haitzler cda79aff9e luncher bar - fix enum use for aspect hint to use evas, not edje one 2020-01-15 19:06:24 +01:00
Carsten Haitzler 2659285bb6 wizard page 120 - temp detect - fix up bsd ifdefs for unused vars 2020-01-15 19:06:24 +01:00
Carsten Haitzler c27b4490b9 music-player - init all struct fields in array - fix warn 2020-01-15 19:06:24 +01:00
Carsten Haitzler 745fbf0909 wireless - fully init all fields in struct to fix warn 2020-01-15 19:06:24 +01:00
Carsten Haitzler 58af9a7d8c wireless - explicit cast as types have same vals by design 2020-01-15 19:06:24 +01:00
Carsten Haitzler 628736a4a3 shot - add {} around subobj to fix warning 2020-01-15 19:06:24 +01:00
Carsten Haitzler ac4323b453 fileman module - fix warning about constness of ptrs
noisy warning so we can see real bugs. no real bug fixed here.
2020-01-15 11:33:55 +00:00
Carsten Haitzler 689dfde91b bluez5 - move from enlightenment_sys to e_system for l2ping and rfkill 2020-01-15 11:33:55 +00:00
Carsten Haitzler be8792a2ee sysinfo - cpuclock - migrate from custom suid to e_system like cpufreq 2020-01-15 11:33:55 +00:00
Carsten Haitzler 7aaf8f4feb cpufreq - move to use the new e_system cpufreq support from own suid exe 2020-01-15 11:33:55 +00:00
Carsten Haitzler dda50e8d87 shot + efm - add efm action to show dir so if same dir is open it shows
and if there is not the same dir upa  new win is created and shown.
... shot uses this to avoid shot dir duplication.
2020-01-09 00:26:45 +00:00
Carsten Haitzler 54afb369f8 shot - wheel zoom - zoom around mouse cursor coords with ctrl+wheel zoom 2020-01-06 11:08:36 +00:00
Carsten Haitzler b7c5fd2a0b pager_plain - remove module and migrate people to just plain pager
let's not keep 2 plager gadgets ... one only - yes. it's mini
previews. it's easier to maintain this way.
2020-01-05 20:35:39 +00:00
Carsten Haitzler 14e7a5c362 shot - fix padded shots out of comp bounds...
clip to comp area so we dont end up with blank areas.
2020-01-05 17:25:15 +00:00
Carsten Haitzler 7d960b12f8 shot - auto-choose a zoom that nicely fits the shot in up to 1 to 1 2020-01-05 17:14:43 +00:00
Carsten Haitzler 812ca88938 shot - make crop handles biger and easier to see in corner cases 2020-01-05 14:35:59 +00:00
Carsten Haitzler d23615046b shot - fix crop out of bounds issue 2020-01-05 12:56:36 +00:00
Carsten Haitzler 0da185b911 shot - remove debug printf. 2020-01-04 16:16:19 +00:00
Carsten Haitzler 32754cff9f shot - zoom - go back to 1/4 zoom by default
for fullscreen shots this makes so much more sense.
2020-01-04 16:15:13 +00:00
Carsten Haitzler f32ac2d1a9 shot always save shots to your users new shots dir and show dir on save
when you select save from shot now it always saves to your user shots
dir (~/.e/e/shots) and then opens up this fir for you to browse/see/dnd
out of etc. etc. for easier quick and fast access to what you just
saved. also you keep a history of your shots (you do get to clean it up
yourself when you save... no auto-cleaning - i decided not to bother
as realistically it's just more config to swizzle and mystery deletion
of files that some user has to figure out how and why it happens and
where to go change the config - just delete the ones you don't want
anymore - simple and easy.)
2020-01-04 16:10:48 +00:00
Carsten Haitzler aaea7865ef shot - remove unused code 2020-01-04 13:48:01 +00:00
Carsten Haitzler 1a7565b970 shot - fix return type of timer 2020-01-04 13:39:05 +00:00
Carsten Haitzler 40fb1bce22 shot - add delay button in shot dialog to try again with a delay
also adds an action you can bind with an explicitly provided delay
time for customization in bindings if you always use the same timeout.

@feature
2020-01-03 22:03:57 +00:00
Carsten Haitzler b34728858c shot - add 4 more draw tools - outline box and circle foot and silly walk 2020-01-03 20:17:35 +00:00
Carsten Haitzler 90fb244615 shot - make zoom reset actually go to 1:1 again 2020-01-03 18:38:43 +00:00
Carsten Haitzler 16a065fe2b shot - edit - add more zoom slots and center zooming 2020-01-03 18:33:44 +00:00
Carsten Haitzler 7da3ba0bc5 shot tmp.
shot - add shot editor with arbitrary cropping and drawing tools

We don't need padded vs other shot of window now as u can remove the
padding with a single click in the editor now, so remove that (comment
it out).

The editor allows you to click on each screen, on a window (and click
again on a window to remove the padding area for the crop so its
snugly around the window).

You can zoom in and out and scroll around.

You can add lines with an arrow, double-arrowed lines, plain lines
with no arrows, some clipart (e-logo, mallocs, pointing finger... just
having some fun) and some fun "text boxes" like though bubbles,
speecvh bubbles, just plain text with a darking outline, a plain
entry-styled text box and you can select the colors for the text and
background area as well.

It's inksape-like in that the items you draw are objects that can then
be modified or deleted. modifying them raises them and places some
controls on/over/around the object.

And you can still save and share the results.

Fun times!

@feat
2020-01-03 16:43:13 +00:00
Carsten Haitzler 1f7c6cc07c Batman gadget upower typo fixes
Summary: this fixes two typo errors in batman.h and batman_upower.c

Reviewers: bu5hm4n, raster

Reviewed By: raster

Subscribers: cedric, zmike

Tags: #enlightenment_gadgets

Differential Revision: https://phab.enlightenment.org/D10964
2020-01-03 16:43:13 +00:00
Carsten Haitzler 322bbc8c03 ibar - change Setup button in config to Contents 2020-01-02 13:09:59 +00:00
Carsten Haitzler 7ba0d0f996 shot - reduce code a bit 2020-01-02 13:09:59 +00:00
Alastair Poole 1e3f6f3cae batman: Free battery when final instance removed.
The battery status is shared between instances. The only time
this should be freed is when only one instance remains. Now
multiple instances can be added or removed without hindering
the display of sysinfo and batman instances. Inline with
recent FreeBSD and OpenBSD fixes.
2019-12-22 22:00:18 +00:00
Alastair Poole e9200fb081 batman: Fix adding batteries on Linux.
When we add a batman gadget to the desktop it previously would
reset the values of all existing batman instances. Here we
ignore the dummy instance used when adding to desktop or
a gadget bar.
2019-12-22 21:47:33 +00:00
Alastair Poole 72a962921c batman_sysctl: Fix small logic bug for BSD systems.
We should be counting the number of instances other than the
one we are deleting.
2019-12-22 21:45:23 +00:00
Carsten Haitzler 7227aaeb81 shot - move save of shot and upload to slave binary tool and tidy code
this gets rid of that annoying freeze in e due to the sync save and
possibly sync dns lookups in curl. slave binary handles it now and
talks back to e via stdout.

this also splits up the code into more files for specific purposes to
make it easier to add features to and maintain. given on the todo is
the ability to explicitly select a crop region and do some basic
"drawing" too, this sets the stage for that and it made it easier to
do the above upload/save tool.
2019-12-19 23:21:17 +00:00
Carsten Haitzler 5ce109ab8f music-control - add auto-launch if player not configured from known 2019-12-17 20:08:07 +00:00
Carsten Haitzler dafbe38291 music-control - add launch if clicking on title 2019-12-17 18:58:40 +00:00
Carsten Haitzler 655248c5e2 music-control - tidy up some formatting 2019-12-17 18:41:14 +00:00
Carsten Haitzler 6c30744459 music control - fix music player index checking and add exe's 2019-12-17 18:31:01 +00:00
Alastair Poole 4b659b1d9e luncher: Fix Crash (rare).
Luncher can crash. When freeing e clients (bar.c).

(data=0x55f0599a400) at bar.c:851

(gdb) print ec
$1 = (E_Client *) 0x0
2019-12-14 19:50:41 +00:00
Alastair Poole 389e9bfb02 batman: FreeBSD and OpenBSD (sysctl)
After the work on the sysinfo gadgets for Linux the BSD variant
code was a little bit of an afterthought. These changes provide
us with unlimited battery/sysinfo gadgets and reliable status
for our battery or batteries and our power supply.

This patch allows us to add and remove (many) batman gadgets to
the desktop without negatively affecting existing instances.
It also takes into account additional sysinfo gadgets that include
a batman instance.

Iterating through the existing array of sysinfo gadgets to find
multiple instances and apply changes it not ideal but it does
not affect the Linux code, and keeps this change relatively
simple.

Tested on FreeBSD and OpenBSD with various hardware setups.
Thanks to Peter2121 (Quelrond) for his testing.

There is work to now improve batman's Linux behaviour to match that
of the behaviour on BSD systems.
2019-12-02 20:47:01 +00:00
Alastair Poole 6b70114c6d battery/batman: Various Improvements.
This adds support for multiple batteries on FreeBSD in line with
Linux and OpenBSD. Also display the vendor and model where
applicable. There are also fixes specific to the sysctl interface.
Fixes a potential crash and let's us have 100 batman gadgets if
wanted.
2019-11-30 20:46:09 +00:00
Carsten Haitzler b3e7009d65 systray - allow multiple
now we no longer have xmbed, allow multiple instances.

fixes T8370
2019-10-14 10:21:43 +01:00
Carsten Haitzler acee84c8eb bz5 - ensure we unref bluez dbus objects to free them 2019-10-08 23:20:26 +01:00
Carsten Haitzler 5f4697fd7d e - add polkit module to add an auth agent into e
new feature - polkit auth agent support partly in core (need to have
the pam setuid root auth tool respond via dbus) and partly a module
(the agent dbus protocol handling and setup as well as auth gui). this
took me a while even with all the docs to work out how polkit works...
it was really fussy and its data structs are an extra pain in the butt
to craft with eldbus, but i managed it. not everything is supported
but the core basics are there and this can be built on.

right now the gui is really basic, but does the job.
2019-10-08 01:38:54 +01:00
Carsten Haitzler 2747af8e07 mixer - try not to create notifications for no change in volume 2019-09-20 13:48:31 +01:00
Carsten Haitzler 95328255b1 wiz - remove e module src support as .libs dirs no longer exist
it wouldnt work anyway and i removed it for e modules themselbves
already - now fix this for wizard too as it'd not work anyway.
2019-09-20 10:47:23 +01:00
Carsten Haitzler 17e375c5a7 wizard - comp - fix checking of gl/hw accel
using just evas_gl_new() will lead to almost always using just
software rendering... because often osmesa is not installed and e will
start in software rendering by default until it switches properly
after the wizard. this appropriately checks in an x path vs. wayland
path in different ways as to if we should do gl by default and ALWAYS
offers a checkbox to the user, just the default value/state of that
checkbox depends on what is detected and a user can override.
2019-09-20 10:47:23 +01:00
Carsten Haitzler 822680869f e comp - remove the disable/fast effects
for fast we probably should look at something like having a multiplier
on edj transitions and set it to 0 to make it instant. this would be
much better and able to apply to ALL effects... so let's remove this
way for now. as for no shaodws and other stuff - moving to wl cant
control CSD and even then it's a theme look ant feel - a "flat theme
withotu any shadows" would just not have them. probably not a checkbox
to have here.
2019-09-20 10:47:18 +01:00
Carsten Haitzler 3e4ff27c19 pager - more direct config from right click menu 2019-09-19 19:20:41 +01:00
Carsten Haitzler 11c0fb01bd pager/desks - stop using numeric N,M if no name is set - be blank 2019-09-19 18:37:52 +01:00
Carsten Haitzler 1783c32839 backlight - add battery timeout in addition to regular dim timeout
this allows for a shorter timeout when on battery vs when on ac for
backlight dimming. this is actually important so when on ac dimming
can interrupt minimally bur when on battery it can be much more
aggressive.
2019-09-18 18:59:54 +01:00
Carsten Haitzler b8afba1e49 startup smoothing - smoothen startup with preload and defer to loop start
this moves a bunch of things that were being don after loop starts to
before so they don't interrupt framerate as well as launch a thread
that preloads file(s) - for now just edj theme files so stuff is
pre-cached by the time loop starts later so we don't stall s much
leading to smoother startup/fade in and better framerate. it's really
visible (especially on my rpi3).
2019-09-14 18:47:20 +01:00
Carsten Haitzler 14a30c74b0 blue4 - remove. obsolete now and bluez5 has replaced it 2019-09-11 09:50:05 +01:00
Carsten Haitzler b4cfada8e8 module and config - remove pointless config vars that have no use
we dont need to delay module loading anymore so remove allof this -
priority too shouldn't be necessary as well and was just a workaround.
this remvoes all of that removing some e module api's and module
struct members as well as some global config fields. it also ensures
all config files are up to date as well.
2019-09-10 17:58:30 +01:00
Carsten Haitzler 0aea2d23a7 connman - add dialog letting user know the connman service is not there 2019-09-05 17:22:06 +01:00
Carsten Haitzler ec1ee3ff42 winlist - use new geom key navigate action util 2019-09-05 00:19:31 +01:00
Davide Andreoli 1d5202f866 PackageKit: fix count of available updates on fedora
seems on fedora the type of updates are reported differently
from debian and archlinux based distro

thanks Simon for reporting and testing
2019-09-01 07:51:50 +02:00
Carsten Haitzler c29dd0f5cf everything- ensure we dont skip over past end of string for fuzzy match 2019-08-20 23:55:17 +01:00
Carsten Haitzler b7d2ac57b0 freeze/that - use a bit more to cut out unwanted events 2019-08-20 08:42:55 +01:00
Carsten Haitzler b7d8916701 efm: ensure progress popup is visible with min calc and hint set
we never calc'd min size and set min size hint - fix that and set it...
@fix
2019-08-15 09:55:12 +01:00
Carsten Haitzler a2c1e59cb5 cpufreq - pstate - support incr of 5 percent to allow for better control
some intel cpu's only go down to 20%, some down to 10% min state....
so let's do this in lots of 5% to allow for some future cpu's. now
it's not just 0, 25, 50, 75, 100 it's worth making it a real loop to
save on code too. this allows me to actually control the cpu's i see
at the detail level i see they can be controlled at.
2019-08-11 22:47:28 +01:00
Carsten Haitzler a172d930da tiling - ignore min size for layout of tree to avoid insta-floats
so some clients just cant tile due to min size and this leads to
really bad results so pass the problem back to the user to go resize
them up to fit. this probably needs far more extensive layout logic.
the data struct is a tree but perhaps it needs to flatten out into a
table to make layouting more sane. but that's the future. for now be
less bad today.
2019-08-10 10:57:09 +01:00
Carsten Haitzler e11eb90231 tiling - on not fit error use name get util and translated strings
if we use the util func we do get a title... and als use translation
too for this notification. Also increase timeout so people can read it
and notice it.
2019-08-10 08:38:27 +01:00
Carsten Haitzler 265c306874 tiling - avoid infinite loop of not fit - toggle float, not fit, toggle
this actually just blows the stack soon enough... so short circuit it.
2019-08-10 08:32:11 +01:00
Carsten Haitzler 6134ac44cf tiling - disable last frame adj - this blocks resizing entirely...
for me this seems to improve things... drastically... fixes resizing
int iling whne no borders selected.
2019-08-09 22:18:14 +01:00
Carsten Haitzler 758894bc9c tiling config -fix use after free crash on change of config 2019-08-09 14:13:17 +01:00
Carsten Haitzler fdd472879b xkb - make basic variant null now and handle in wl too the same as x
now russian works for me. :)

fixes T7979

@fix
2019-08-09 09:50:33 +01:00
Carsten Haitzler 7c4e58a2fc xkb - module - fix use after free - duplicate layout info instead
instead of referring to what migh tbe deleted under us - make a dup of
it to tsatore locally. fixes segv on kbd layout change

@fix
2019-08-09 00:39:19 +01:00
Carsten Haitzler 7ab9466f77 everything - fix string index mishandle that causes segv's
also ensure we nuke time rhandles too - spotted that. this is a real
issue asan found and yomi first pointed at. reproduced, found, fixed.

@fix
2019-08-08 09:24:10 +01:00
Carsten Haitzler fd26c7b224 evry - handle invalid chars in filters nicely and stop string walking
possible issue lurking if a utf8 char sequence has invalid content ...
avoid it.
2019-08-07 21:16:12 +01:00
Carsten Haitzler cbd507fb13 appmenu gadget - size items properly so they can be seen 2019-08-07 00:49:26 +01:00
Carsten Haitzler df0a64dc7a e dbusmenu - fix cross referencing from e menus created from debus menu
this stops crashes when e menu si still up when the dbus menu backing
it has changed/gone away... by referencing the dbusmenu to hang about
like a bad smell while the e gui menu is up until it's dismissed. this
fixes a real segv i saw with steam.

@fix
2019-08-07 00:43:47 +01:00
Carsten Haitzler 2b0735da58 connman - set var to defined value - less warnings 2019-08-06 21:01:26 +01:00
Carsten Haitzler f1b0e638f1 systray - dont prunt null name which is usless
fixes warning and removes always null string.
2019-08-06 20:58:57 +01:00
Carsten Haitzler 78102717ae connman agent - handle theoretical missing requirement and name strings
fix CID 1076319
2019-08-06 19:29:46 +01:00
Carsten Haitzler e96cff8503 xwayland dnd - handle names not being allocated
fix CID 1403921
2019-08-06 19:20:03 +01:00
Carsten Haitzler 3a581f888d xwayland - handle negative return failure for abs socket create
fix CID 1403929
2019-08-06 19:05:36 +01:00
Carsten Haitzler 96ae312d6e mixer pulse - handle alloc failure better and dont access null
fix CID 1403930
2019-08-06 19:00:46 +01:00
Carsten Haitzler dccf124ff3 mixer backend - fix null checks to cover all uses
fix CID 1403937
2019-08-06 18:53:30 +01:00
Carsten Haitzler 1c893b064f wl dnd - check socketpair and fcntl return values
fix CID 1403951
2019-08-06 18:30:30 +01:00
Carsten Haitzler 0a4f035fb6 wl dnd - fix more use after free
restructure code a bit to not fall into this trap as easily and remove
the falling into the trap where we use buf after freeing it.

fixes CID 1403924
2019-08-06 17:54:40 +01:00
Carsten Haitzler 3c7d93059b wl text input - handle out of mem and free half done struct
stgruct we alloced is not freed if a child element setup fails...
fixes a technical leak. coverity found it.

fix CID 1403931
2019-08-06 17:42:42 +01:00
Carsten Haitzler b03c0739db wireless mod - fix out of bound type array accesses
coverity pointed this out. certainly 1403948 is definitely possible if
no geometry matches succeed.

fix CID 1403948
fix CID 1403944
fix CID 1403928
2019-08-06 17:00:38 +01:00
Carsten Haitzler bb390716f5 ibox - make coverity happy by reordering free then list remove
fix CID 1403955
2019-08-06 12:40:08 +01:00
Carsten Haitzler 554026cfe6 ibox - make coverity happy by reordering free then list remove
fix CID 1403956
2019-08-06 12:36:22 +01:00
Carsten Haitzler 1fa7d4a07b wl dnd - fix theoretical buf leak coverity found
fix CID 1403957
2019-08-06 12:35:11 +01:00
Carsten Haitzler fa0608b50f tiling - use a tiling specific border if it exists in theme and cfg
if you set cfg not ot use nomral borders then use "tiling" if it
exists instead of "pixel" as thats probably the right thing to do...
2019-08-01 13:47:30 +01:00
Carsten Haitzler b88138cacb every - ensure all structs are zeroed out
valgrind spotted this, so fix.
2019-07-31 13:38:46 +01:00
Carsten Haitzler e1a528ac2d wiz - turn off taskbar by default due to ibar doing this already 2019-07-30 11:46:10 +01:00
Carsten Haitzler 48a83c733c bluez5 - track rfkill sysaction exe to tell user if something went wrong
IF we don't do this, the error will be "silent" and the user never
know. The user should know if things are configured incorrectly.
2019-07-23 00:20:58 +01:00
Carsten Haitzler 316c29bc56 e wl drm - restore rotation input max coords by accounting for rotation 2019-07-15 10:03:15 +01:00
Carsten Haitzler 1cbd5ee024 e wl randr and screen setup - fix rotation mapping
a few problems i found on my rpi's...

1. rpi's retun that they do NO rotations (not even the normal 0 degree
default), so assume 0 degrees if none listed. this makes screen setup
even try and configure things on these kinds of drivers/devices
2. there was a mistmatch of 0, 90, 180, 270 srtyle rotation ints vs
the enum stype ecore drm2 uses. this fixes that so it uses ecore_drm2
considtently as ecore_drm2 expects. this stops output becomeing odd.
3. also seemingly we forgot to set the max mouse region based on res.
re-enable that commented out function.

now i can change res on my rpi3 and rpi4 in wl mode and it works right...
hooray!
2019-07-14 22:20:49 +01:00
Carsten Haitzler 51f8033fb3 lokker - fix brokenness of setting clip on swallowed obj
so this is why fading failed... it was breaking ownership of the
clipper with edje!
2019-07-12 14:46:50 +01:00
Carsten Haitzler d13ceeca5a wl - allow screensaver lock option in wl mode... 2019-07-12 14:24:25 +01:00
Carsten Haitzler 385a91841c meson opt - also match options change in core meson build 2019-07-12 14:14:28 +01:00
Carsten Haitzler 2819f3b1dc wizard bring back page 0 so you see it...
efreet finds things too fast so bring back page 0 so you see the logo
for at least 5 seconds.
2019-07-09 10:17:55 +01:00
Carsten Haitzler 6cb62a79ae wizard - missing bluez5 service checks for enabling bluez5 module
we were missing this - add it in like connman for release.
2019-07-09 10:17:55 +01:00
maxerba afc1f44ac7 Updating french translation 2019-07-08 21:15:00 +02:00
Christopher Michael 50a33a13fc wl_drm: Fix build & runtime break with latest EFL version
EFL 1.23 changed API with regard to pointer device capabilities, so we
need to adjust API usage here based on efl version.

Original patch from bu5hm4n (Marcel Hollerbach)
2019-06-26 09:07:46 -04:00
maxerba e131745fb7 Updating french and italian translations 2019-06-21 19:32:32 +02:00
maxerba b54ab5292d Updating french translation 2019-06-12 18:56:33 +02:00
Christopher Michael b8fb6b70f7 wl_wl: Fix missing new line at end of fprintf
Summary: Original patch from ApBBB (Apostolos B.) slightly modified by
me to fix the commit message

Test Plan: Compile> run E on wayland > log out >look at the command line.

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: ManMower

Tags: #enlightenment-git, #wayland

Differential Revision: https://phab.enlightenment.org/D9069
2019-06-10 08:41:24 -04:00
Carsten Haitzler 10c4a25aa8 bluez5 - comment out unused discovery filter cb now its not used 2019-06-05 09:19:27 +01:00
Carsten Haitzler 6af9d75293 error messages - let's be less ramatic and have fewer of these on start
various errors we have are not actual errors but mostly information or
debug or status messages, so don't use ERR or just don't do the thing
that triggers it as it's useless. This leads to a less
noisy/error-like start output. cleaner for a release for sure.
2019-06-04 14:14:18 +01:00
Carsten Haitzler af92895931 e - fix issue in emixer where sliders will not get disabled right
recent changes to try disable sliders won't handle the slider list vs
single slider right - warning pointed this out so fix it right.
2019-06-04 12:38:34 +01:00
Charlie Root 61d45313c4 sysinfo: Use unifed API for querrying CPU state.
Summary:
This finally got unified. Fix for the CPU gadget within
sysinfo. One API for MP and SP machines.

Reviewers: raster, cedric, stephenmhouston, devilhorns

Subscribers: zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D9023
2019-06-03 10:48:28 +01:00
Christopher Michael 4c12625cab wl_desktop_shell: Fix compilation due to over-zealous copy/paste 2019-05-30 11:13:12 -04:00
Christopher Michael ed6f7b2903 wl_desktop_shell: Fix issue of misplaced menus in client apps
The code used to position client application popup menus did not
account for other anchor positions and gravity values thus causing
menus to popup outside the client application. This patch fixes the
issue by accounting for the missing cases.

ref T7479
2019-05-30 11:04:24 -04:00
Christopher Michael a8deae5ed6 wl_desktop_shell: Fix _validate_size_negative function
As this function is used to check if a given value is negative, the
comparison should check for Less than Zero as a given value of Zero is
not negative

@fix
2019-05-30 09:22:02 -04:00
maxerba e83259bccd Fix typos in messages 2019-05-25 21:43:24 +02:00
Michael Bouchaud (yoz) 5aedf54042 emixer: Add volume channels control on emixer
Summary:
This commit allow the user to control each volumes channels in emixer.
A lock flag is introduced to manage volume as before.

@feature

Reviewers: zmike!, devilhorns, raster

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7639
2019-05-21 14:41:24 +01:00
Michael Bouchaud (yoz) 5cded14b76 screensaver: Allow to set hibernate on blank into blanking setup
Summary:
This patch introduce an alternative to suspend on blank.
Hibernate on blank.

@fix T1886
@features

Reviewers: zmike!, devilhorns

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T1886

Differential Revision: https://phab.enlightenment.org/D7602
2019-05-16 13:50:27 +01:00
Carsten Haitzler 4fa80c2516 colorclass config dialog - it's broken. disable it
it just does nothing but list colorclasses from the theme. can't edit
them or see them. no point having it there. this should get fixed up
later, but for now - disable it.
2019-05-10 11:50:04 +01:00
Carsten Haitzler e912e0a087 efm - fix always new window mode to put dir inline from favorites select
when u select something from the favorites on the left it should
always affect the content of the current window, not open a new one -
this would happen if u switch mode to open new windows from the default.

this fixes that.
2019-05-08 15:09:27 +01:00
Carsten Haitzler 32f5bb93ce bz5 -> genlist item flip on press of an option button to see main view
it isn't obvious you should flip back once u press a button to pair or
unpair or connect etc. you you can see the pair requests etc. that are
displayed in normal mode, not flipped mode.
2019-04-09 17:34:15 +01:00
Carsten Haitzler d14b566aa8 tiling - fix theme elements to be namespaced with e/ 2019-04-04 09:11:54 +01:00
Carsten Haitzler f6b3dc9a18 evrything - gadget popup on mouse up now and no custom name+class
a custom name+class meant the comp styling didnt work right for the
evry window popped up from the gadget. this fixes it to at least work
right as opposed to be missing a comp style.
2019-04-04 09:11:54 +01:00
Christopher Michael 9798e901f9 wl-drm: Refactor _drm2_randr_apply function
Summary:
This patch refactors _drm2_randr_apply inside the wl_drm module in
order to support multiple outputs and to fix issue of rotation not
working

ref T7690

Reviewers: raster, cedric

Subscribers: cedric, zmike

Tags: #efl, #do_not_merge, #enlightenment-git

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8117
2019-03-22 12:42:10 -04:00
Michael Bouchaud (yoz) fb23acf874 mixer: factorize backend emix infra
Summary:
The mixer gadgets suffer of a bad design between old and new gadget infra.
This commit refactorize the mixer backend to get only one instance
between old and new gadget. This resolve many problems as e_client_volume
integration or the default_sink choosen in one of this modules.
Now it will be easier to maintain this code and better support when we will
remove old gadget infra.

Reviewers: zmike, devilhorns, stephenmhouston

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7718
2019-03-18 08:54:42 -04:00
Carsten Haitzler 47043b5ddf winlist - remove debug printf 2019-02-10 11:31:15 +00:00
Carsten Haitzler c1c3af7412 fix alt tab winlist focus ordering
this fixes T7687
2019-02-10 11:28:56 +00:00
Carsten Haitzler 7c16304ea6 winlist - on 32bit dont warn about cast from generic to specfic obj
an alignment warning that is not useful, so less noise - remove it
with a void *
2019-02-08 16:34:35 +00:00
Michaël Bouchaud (yoz) eecd1ac187 conf_interaction: mouse tap to click only under wayland
tap to click mouse option is taken into account only under wayland
2019-02-04 18:25:18 +01:00
Carsten Haitzler 11b0a6e670 theme wallapaper other than edj fix
fixes T7674

@fix
2019-02-02 10:36:14 +00:00
Michaël Bouchaud (yoz) 3ab092a61c conf_interaction: Support tap-to-click with pointer device
Summary:
Allow to setup tap-to-click feature with libinput pointer device.

@feature

Reviewers: devilhorns, zmike

Reviewed By: devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7845
2019-01-31 09:10:57 -05:00
Carsten Haitzler 6bdcf92563 pager - fix vanishing windows when dnd from desk to desk in pager
windows would vanish at times (eg dnd into an empty desktop in the
pager). this was pretty disconcerting and a problem, so this fixes it
with a bit of a sledgehammer, but it fixes it.

@fix
2019-01-28 19:06:39 +00:00
Carsten Haitzler 6d0ea31870 pager - fix dragged win offset to be correct, not top left
when you dnd'd a window around it just always jumped to an odd
position. now it drops where you drop it.

@fix
2019-01-28 19:06:33 +00:00
Carsten Haitzler 9f664bc785 pager - fix small issue - raise window on drag start
visually when u start to drag a window in pager it raises because of
dnd... so raise the real window too so they match. it looked weird
otherwise.

@fix
2019-01-28 19:06:21 +00:00
Stephen 'Okra' Houston 18f9c8eb23 Wireless: Fix wireless gadget settings to work with updated gadget/menu callback methodology. 2019-01-23 20:57:15 -06:00
Stephen 'Okra' Houston 2081b92f07 Batman: Fix typo where batman was never resuming when screensaver returned. 2019-01-23 20:56:18 -06:00
Stephen 'Okra' Houston 13d2ae75d3 Batman: Don't leak stringshare when returning from update early. 2019-01-23 20:55:40 -06:00
Stephen 'Okra' Houston 42d16a0ec1 Batman Udev: Don't include batteries who have unknown status, have never had a full charge, and have no charge rate.
Summary: This fixes issues where erroneous udev detections of batteries are included. @bu5hm4n and I both have had issues where udev thinks we have two batteries because our hid/touchscreens report a battery even though they are not accurate.  The problem is batman will then think there are two batteries and calculate battery percentage based off both batteries.  For instance if the laptop battery is 100% and it is detecting this phony hid battery, the result is batman thinks you are at 50% battery life.  This also fixes the battery removal code which should only remove the battery with the syspath the function is called with.  The code was actually removing every single battery.

Test Plan: You have to have a device that udev reports two batteries for when there aren't two.  It should be harmless to not include batteries that have never been charged, have no charge, and have unknown for their status.

Reviewers: bu5hm4n, raster, zmike!, devilhorns

Reviewed By: raster

Subscribers: cedric, bu5hm4n

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7736
2019-01-23 12:57:57 -06:00
Carsten Haitzler 3f744cedfb music control - fix aspect keeping of album art image 2019-01-23 16:49:05 +00:00
Stephen 'Okra' Houston 4097a9d2f6 Mixer Gadget: Give the mixer gadget its own actions as to not conflict with the shelf module.
Fixes T7263
2019-01-17 11:34:13 -06:00
Stephen 'Okra' Houston b90d8024fa XKBswitch gadget: Make sure to update the wayland keymap index.
Fixes T6321
2019-01-16 13:26:27 -05:00
Michael Bouchaud (yoz) 1527599b78 mixer: Add cards settings into pulseaudio backend
Summary:
This commit bring the support to set a profile on audio hardware via
pulseaudio. You are now able to configure the output of your audio
hardware via emixer without the help of pavucontrol.

@fix T3127

Reviewers: zmike!, devilhorns

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T3127

Differential Revision: https://phab.enlightenment.org/D7569
2019-01-16 17:10:09 +00:00
Carsten Haitzler a0611d0026 mixer - mirror changes to new gadget code too 2019-01-16 16:48:28 +00:00
Carsten Haitzler 3b359b4ea7 mixer - put back parent process hunting for things like spotify 2019-01-16 16:40:20 +00:00
Carsten Haitzler a841544d03 e client mixer handling - fix segv where inputs/sink cause segvs
so i've been seeing this thing where inputs are deleted and then the
sink is appropriately deleted from clients but not all the client
windows it could have been on. the problem seems to manifest if
multiple windows come from the same app playing audio so the sink may
be assigned to only 1 window not all of them.

this seems to nuke the segv as the sink/input was being left dangling on a
window due to the logic in the add/del handling to give up when it finds the
first window target and not all of them.

so after a day or so of testing my segv's are gone. yay!

@fix.
2019-01-16 11:31:41 +00:00
Carsten Haitzler a57aa83793 report error from system() calls that dont run cleanly - warn fix 2019-01-12 21:11:31 +00:00
Carsten Haitzler 35f4b44d00 fix casts to use void ptr to avoid warning that isnt important 2019-01-12 01:51:43 +00:00
Carsten Haitzler 63d36aa44a fix casts to use void ptr to avoid warning that isnt important 2019-01-12 01:51:43 +00:00
Carsten Haitzler a20f3b58a4 fix casts to use void ptr to avoid warning that isnt important 2019-01-12 01:51:43 +00:00
Carsten Haitzler d8e92184b8 fix casts to use void ptr to avoid warning that isnt important
the callback uses a subset of the arguments (taking advantage that our
first arg is void * data) so it can re-use across callback types. void
* makes this case not complain as oposed to casint to a specific fn
sig type from another.
2019-01-12 01:51:43 +00:00
Carsten Haitzler 147d945600 warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler c09ba20464 warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler df5147a838 warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler f5901a0940 warn - silence pointless warn with memcpy instead of strncpy 2019-01-12 01:51:43 +00:00
Carsten Haitzler e4948e487c warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 3b234bfeee warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 01575d590e e mime cfg - skip work when string is empty - fixes warning 2019-01-12 01:51:43 +00:00
Carsten Haitzler cb9f05641b warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler c3d15b2843 warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler f8a88dab0e warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 46288387c0 warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 747d18373e warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 91066bd06f weekbd - fix text insert to not leak and have no warnings 2019-01-12 01:51:43 +00:00
Carsten Haitzler 135c5679fb warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler fccf2f5aef evry - move to non deprecated aspect set call 2019-01-12 01:51:43 +00:00
Carsten Haitzler fdca24a82b warn - make buffer bigger to avoid trunc warn 2019-01-12 01:51:43 +00:00
Carsten Haitzler 6a4cfba874 ibar - warn fix callabck for job to use right signature 2019-01-12 01:51:43 +00:00
Michael Bouchaud (yoz) 3ea9f34e00 screensaver: Allow to set a larger time before suspend
Summary:
Now the time in blanking setup could be increased to 23 hours 59 minutes and
59 seconds.

@fix T3589

Reviewers: zmike, devilhorns

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T3589

Differential Revision: https://phab.enlightenment.org/D7586
2019-01-11 17:22:03 +01:00
Michael Bouchaud (yoz) 797425c7d4 emixer: avoid a stringshare leak on sink changed signal
Summary:
emixer: avoid memleak when converting pulseaudio value

@fix T2806

Reviewers: zmike, devilhorns

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T2806

Differential Revision: https://phab.enlightenment.org/D7583
2019-01-11 10:33:20 +01:00
Michael Bouchaud (yoz) 64b9f1e58b xkbswitch: Change layout keyboard on double left-click
Summary:
We move the creation of the popup to a timer to let double left click
event occur. This timer is set to the current double click time value.

@fix T354

Reviewers: zmike, devilhorns

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T354

Differential Revision: https://phab.enlightenment.org/D7568
2019-01-10 11:36:22 +01:00
Michael Bouchaud (yoz) 4cc4260c42 mixer: Add sink_input association on client add event
Summary:
As the pulseaudio sink could be created before the window, we list
sink_inputs from pulseaudio on client add event. This make to not miss
an association and provide the volume control feature as expected.

Reviewers: zmike, devilhorns

Reviewed By: zmike

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7559
2019-01-10 11:34:23 +01:00
Carsten Haitzler 21dd3b1aba efm - reorder destroy to toolbar can access fm obj still on free
less ERRs
2019-01-09 18:39:16 +00:00
Carsten Haitzler e493891151 fileman - don't add cbs to a fwin window that doesnt exist
less ERR noise.
2019-01-09 18:23:19 +00:00
Carsten Haitzler 024bfe09b5 bz5: fix typo in tooltip 2019-01-03 19:10:30 +00:00
Alastair Poole 569722a4ed gadgets: pager (fix crash on mouse up).
Summary:
Animator was crashing due to invalid memory access.

This resolves this problem.

Test Plan:
* Add new gadget pager to desktop/bryce.
* Move window within pager boundaries.
* Finish window drag within pager.
* CRASH of animator thread (or worse).
* Apply patch.
* Use new peger without fear of disaster.

Reviewers: raster, zmike, cedric, stephenmhouston, devilhorns

Reviewed By: zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7536
2019-01-03 18:51:15 +00:00
Christopher Michael 72dbbced1a conf_interaction: Adjust slider format value
Fix a small issue with slider format value for Wayland mouse
acceleration display. This allows some finer grained control over
pointer acceleration under Wayland
2019-01-02 15:09:40 -05:00
Christopher Michael a0e394b1a5 conf_interaction: Support mouse acceleration under Wayland
Wayland mouse acceleration uses different values (via libinput) than
X11 does. As such, we need to check the compositor type when creating
the Mouse Input config dialog and adjust values accordingly.

ref T7534

@fix
2019-01-02 14:58:19 -05:00
Carsten Haitzler 9568b29e64 meson - use install_mode 2018-12-27 17:16:33 +00:00
Carsten Haitzler 22031a74bb bluez5 - rfkill off when powering on from config - hope it fixes init
so there are a bunch of nasties that bluez itself doent take care of -
like rfkill. some devices (many i seem to find) have rfkill enabled by
default at boot. the gui which select power on or off is largely
useless as asking bluze to do this has no effect or fails because a
separate rfkill subsystem is forcing things off. this is bizarre that
bluez doesnt take care of it, but since it doesn't, we hve to. we
already swizzled rfkill when u toggle the power checkbox, but not at
init power on on loging (based oon last known power state of the bt
adapter that was saved in config). i found the log saying power on
error due to rfkill, so adding an explicit rfkill unblock should...
help. and then if you have bt powered on - next boot it should be too.
power it off if you dont want ti on. then it will be explicitly
powrred off at init/boot/login.
2018-12-24 14:27:33 +00:00
Carsten Haitzler 22f00acfc8 bluez5 - add debug to find power on issue
the power on logic doesnt seem to always work and i don't know why. so
add debug to find out...
2018-12-19 12:12:56 +00:00
Carsten Haitzler 7d39369434 bluez5 - add device specific options like unlock and force connect
i added 2 more device specific options, so i had to move all of the
device controls to an expandable button set. it's not brilliant
actually. the icons are poor and these probably should become toggle
like states rather than a button with an action. it's just not that
intuitive. this i think needs more theme styles in elm core theme
though, so for now keep what's there. but this was necessary due to
the ever expanding set to keep space usage sane.

now the 2 features are "force connect" for any device that is
discovered and responds to pings - connect to it if not connected.
this seems to not always work and maybe this should eventually be
removed, but this leads to there needing to be config per device so we
now have config storage for that like adapters.

the other feature which is much more interesting is the unlock
feature. this means if that bt device is around and responds to pings,
e will unlock (and only explicit manual locking will lock it), but
when that bt device stops responding to pings, e will lock. you could
use your phone, or smartwatch or any other bt device you have on your
all the time as some unlock device.

this required the fixing of the l2ping support in e_sys and i've fixed
it to properly work now and added an optional timeout value as input.
the unlock feature uses this and it pings bt devices on a frequency
that depends on e's powersave state which is dependent on if on ac, or
battery and what battery level is if you have the battery module
running. a handy feature to have just there at the click of a button.

i've kept the printf logging in for now so people trying it out get
some semblance of logging and state so they could figure out why
things are doing what they do and maybe debug it more easily.
2018-12-15 16:13:28 +00:00
Carsten Haitzler cbe3858b15 desklock - add explicit manually invoked api and a blocking api
this is so parts of e (moduels etc.) could block a lock for some
reason and differentiate between an automatic lock and a manually
invoked one.
2018-12-15 16:13:28 +00:00
Carsten Haitzler d72a7e6800 bluez5 - fix adapter auto-power on if enabled by user
the auto power-on wasn;'t working. what the module did was power the
bt adapoter on if the user last powered it on by default hen it
sees/detects the adapter. if the user last powered it off it will do
the reverse (power it off too). this is kind of a workartound because
bluez5 itself wont power the bt on.
2018-12-11 17:50:25 +00:00
Carsten Haitzler 6321664f08 e - winlist/client - don't leave dangling action on window
as winlist doesn't target specific windows ... don't leave the action
on the window dangling there. finally fixes T6415
2018-11-20 19:08:25 +00:00
Carsten Haitzler 5ba54b7aa8 e winlist focus and input - fix to work with basic wheel/mouse ev
this fixes T6415

@fix
2018-11-09 22:04:24 +00:00
Chris Michael 6b1f5560b4 luncher: #if 0 out unused functions 2018-11-08 10:44:11 -05:00
Chris Michael 7300af7aca pager: Remove unused function declaration 2018-11-08 10:37:13 -05:00
Chris Michael 4648b4fef2 ibar: Replace deprecated edje_extern_object_aspect_set call 2018-11-08 10:36:27 -05:00
Carsten Haitzler c49f49829f gadgets - get long press plus dnd to behave nice
we had multiple drag resistance values here - unify with 1 and make it
work, now it gets it right deciding between dnd and a long press menu
etc. etc. ...
2018-10-29 17:32:51 +00:00
Davide Andreoli 3e4a34d03c Launcher: fix the gadget menu icon search
This was obviously wrong, it was comparing
the geometry of the whole gadget instead of
the icon one. Now the menu doesn't always
act on the first icon ;)
2018-10-21 11:22:54 +02:00
Davide Andreoli 79ff5ae53b PackageKit gadget: augment the new menu
Use the new menu augmentation system to
provide two usefull operations.
2018-10-21 11:05:00 +02:00
Davide Andreoli 9369277e08 PackageKit gadget: fix app run from bryce 2018-10-21 10:44:07 +02:00
Davide Andreoli 51a5454233 PackageKit gadget: redone config dialog using elm
This is how all the other new gaget are doing the
config popup, I copied from time gadget.

I really think the config popup creation (and size/show)
should be handled by E, not by each gadget. ATM this
code is repeated in every gadget.
2018-10-21 10:36:36 +02:00
Davide Andreoli fdf9dffcd6 PackageKit gadget: fix for recent gadget api changes.
This is just a fast fix, some more work will come to
integrate better with the new gadget system.
2018-10-21 08:31:18 +02:00
Carsten Haitzler e4339f4819 bryce - improve usability from code and user by having std right menu
now right click on any gagdte in bryce and they ALL have a menu that
allows removal of the gagdte bar or the gadget as well as access to
gadget settings AND the ability for gadgets to extendthis menu like
lunhcer does per icon. now it's standard behavior everywhere which is
much easier to use and discover. it also removes code from every
gadget to do their own "button 3" handling as its handled centrally
making the code in gadgets simpler.

this is part of my effort to improve usability (mostly discoverability
and accessibility of settings/features).

also  long press left mouse gets u gadget right click menu

this has to move many modules/gadgets actions to mouse up instead of
mouse down so the bryce has a chance to trap the events first and set
hold flags. but now long press for 0.5 sec and bryce menu come sup
(with left mouse .. so touch friendly).

in addition move context menu hanbdling to e_gadget instead of in
bryce and in e_gadget. a context callback is called so different
systems can still do different things. this should probably change to
always pop up a mnenu and simple call populate callbacks for site
owner specific content.

all in all it makes the new gagdtes more consistent, easier to use
(without a right mouse button), doesn't need special action bindings
etc. etc.
2018-10-11 16:25:10 +01:00
Carsten Haitzler 2e8807c806 e winlist - allow dnd to work while alt tab is going
don't grab the mouse ... unleess it as mouse activated.
2018-10-11 16:25:10 +01:00
Alastair Poole 03a4b78934 wallpaper: if previous advanced basic apply follows advanced setting.
Summary:
Previously if you had different wallpapers on different screens
then came back to the settings and changed the wallpaper ALL
screens would be set, and the painstaking work of setting
various wallpapers across desktops/screens is lost instantly.

This patch avoids this annoyance.

Reviewers: raster, zmike!, devilhorns

Reviewed By: raster

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7141
2018-10-04 11:54:37 +01:00
Derek Foreman a037001031 Send unique keymap fds to clients
Summary:
Prevent wayland clients from being able to destroy the compositor's
singleton keymap by making individual copies for each client.

Reviewers: zmike, devilhorns

Reviewed By: zmike, devilhorns

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D6861
2018-08-17 12:28:49 -05:00
Stephen Houston 0fd5552c3b Sysinfo: Use appropriate format strings and make sure to set format
before value.
2018-08-08 10:25:30 -05:00
Stephen Houston 30a7c82320 Sysinfo Batman Upower - use the correct functions for processing. 2018-08-08 09:38:25 -05:00
thierryOrdissimo fff3f69114 Update of the dbus calls of the upower module.
Reviewers: zmike, devilhorns, stephenmhouston

Reviewed By: zmike, stephenmhouston

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D6386
2018-08-08 09:17:08 -05:00
Carsten Haitzler 63f2d0ba95 tasks - dont use ignore flag on remove of client
this may be causing stale clients to stary in the tasks list. this
might fix it, but i'm not sure as i can't reproduce.

adresses T7223 or at least mhy comment on the valgrind log

@fix
2018-08-04 14:33:49 +09:00
Carsten Haitzler d28c4593a9 e randr screen setup - fix disabling of scale checkbox 2018-07-25 00:05:50 +09:00
Carsten Haitzler 839d7f4dc2 e blanking - offer option to not use dpms
so a new bug in a gpu driver. if dpms is enabled, wakeup doesn't
happen. mouse doesn't do anything, rendering doesn't happen... i can
use the keyboard and ctrl+alt+enmd restart e or killall -HUP
enlightenment and e restarts and renders ... but nothing appears.
interestingly if i let it timeout again and wake it up a second
time... things render (but e is confused it seems and mouse input
doesnt work until i restart e). it's some kind of xorg/driver bug here
with this dpms - no dpms and all is fine. all e does with regards to
dplms is enable or disbale it (and set the timeouts) so e isn't doing
antyhign special otherwise with dpms on vs off ... so somethnig deeper
down the stack here, but to get a desktop that works at least for now,
add an option to not use dpms.
2018-07-17 13:19:48 +09:00
Carsten Haitzler 3cb7d8868f bluez5 - finally add signals to show global adapter state
this adds signals that go to the bz5 gadget object so you know if you
have a bt adatper on at all, if any are powered on, scanning, visible
etc.
2018-07-16 21:10:43 +09:00
Davide Andreoli 38ae2285ec PackageKit gadget: fix hiding of progbar in bryce
This seems to me more an hack than a fix, but this is how
elm works :(

ref T7119
2018-07-09 22:36:55 +02:00
Mike Blumenkrantz a6277f4f6d resolve a number of cases where a null object was passed to efl functions
Summary:
these are all harmless but will trigger error messages from efl

ref T7030

Depends on D6315

Reviewers: ManMower, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Tags: #enlightenment-git

Maniphest Tasks: T7030

Differential Revision: https://phab.enlightenment.org/D6316
2018-06-19 12:01:43 -04:00
Daniel Zaoui 49459b6b72 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-06-05 00:30:47 +03:00
Alastair Poole 8ee7cf979f fileman: remove temporary fix.
Efreet should now properly unmap the correct address.
The unmap was causing a SIGBUS. Removing this bogosity.
Won't affect e22.
2018-06-01 14:37:44 +01:00
Alastair Poole e2d449348f Revert "module loading: use global symbols with BSDs and local with Linux."
This shouldn't be necessary now.
This reverts commit 28ad7b337c.
2018-05-28 10:33:26 +01:00
Carsten Haitzler 91463a9621 e wizard - fix symbol linking for pages by exposing syms explicitly
wizard module was relying on implicit symbol linking for pages. since
i chnaged dlopens to be local this broke page loading. this local
dlopen change is all about not leaking symbols into the global table
which is good/right, but this stops the wixzard setup from working, so
move to explicitly exposing symbols to the modules in a struct.
2018-05-27 22:53:10 +09:00
Alastair Poole 28ad7b337c module loading: use global symbols with BSDs and local with Linux.
The symbol table fix on Linux doesn't translate well on BSD.
Adding code to use the older behaviour with the BSD systems
and retaining the new preferred behaviour when using dlopen(3)
on Linux.
2018-05-27 12:37:18 +01:00
Carsten Haitzler 0c61b092bb bluez5 - remember pwr and pairable states and restore them on adapt add
bluez wont remember powered state for adapyters so for usability, do
it for bluez so users get their last state as you might expect.
2018-05-21 22:41:14 +09:00
Carsten Haitzler 7c6702e2fd 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-05-19 00:58:03 +09:00
Carsten Haitzler ab1360c224 emxier desktop - fix categories to match well known cat names
Audio is not a well known/valid one. AudioVideo is. fixes T5076

@fix
2018-05-18 21:45:20 +09:00
Carsten Haitzler 401becb78e bluez5 - add support to unblock rfkill if bt adatper power is on
so users will be mucho displeased and bewildered when the bt adatper
is powered on but nothing happens... it ends up that with some bt adatpers
it will be rfkill blocked by default. this is highly unfriendly. at
least if you have bluez5 module loaded and configured the adatper to
be powered on... i see no reason why it shouldn't be unblocked if the
adatper is powered on. i have considerted making it an option but for
now can't think of good reasons to really do that.
2018-05-18 21:45:20 +09:00
Carsten Haitzler b00477c1e5 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-05-18 21:45:20 +09:00
Carsten Haitzler 757f7a7279 module loading - use local symbols to avoid symbol table clashes
the mod init/shutdown syms already are bad infesting the global sym
table. keep modules local/isolated and we'll be better off.
2018-05-18 21:45:20 +09:00
Carsten Haitzler 2e5be79c45 bluez5 support - a new module with gadget etc.
Summary:
bluez4 support is now basically dead. nothing ships it anymore. bluez5
is a new api that is rather different so new code. also a new gui with
more complete features etc.

not everything is done as i'd like. need:

1. many more icons for device types (60-70 maybe?)
2. a few specific custom icons for some action buttons (like
pair/unpair)
3. icons for group headers
4. gadget status - the gagdte itself displays zero status. it's a
button to display a popup. that's all.

Reviewers: zmike!

Subscribers: devilhorns, cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D6148
2018-05-18 21:45:20 +09:00
Derek Foreman 3e196c1c61 compile against stable EFL again
E should probably continue to build against released EFL older than
the current interface name changes.
2018-04-25 11:06:12 -05:00
Carsten Haitzler f3498ee82c compile again after efl change interface names... 2018-04-25 14:37:49 +09:00
Stephen Houston fa3d86ac84 Remove/mark unused variables to avoid warnings. 2018-04-19 10:18:46 -05:00
Chris Michael cc17ff17e6 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-03-29 10:56:45 -04:00
Carsten Haitzler 2695843659 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-03-28 18:25:47 +09:00
Derek Foreman 989497ded1 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:25:50 -05:00
Carsten Haitzler a1994536a4 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-20 20:36:56 +09:00
Davide Andreoli c76392d4c8 PackageKit: add support for new gadget API
The gadget can now live in both shelves and bryces.

There is still a strange issue in the popup: the progressbar
(that should be hidden on show) dont want to honor the
evas_object_hide call. This only happen when inside an elm
ctxpopup while works as expected when in a gadcon popup, so
I suspect a bug in ctxpopup...
2018-03-12 21:24:33 +01:00
Carsten Haitzler e9348193c4 systray - fix sizing of tray so you can see the icons
this should also address the last comment with a fix T5910
2018-03-12 00:18:37 +09:00
Carsten Haitzler 2110cdea89 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-10 15:21:18 +09:00
Al Poole d70733bbdc Byte order macro. Be consistent and get rid of clang warnings. 2018-03-01 18:35:16 +00:00
Al Poole bff91e0885 fileman: fix use after free and workaround issues on FreeBSD.
Reading from tmp is causing SIGBUS issues on FreeBSD, the easiest
and cleanest way round this atm is to avoid parsing /tmp. In the
process found another bug which occurred on Linux also which was
use after free.
2018-03-01 17:52:56 +00:00
Al Poole 46764d5975 sysinfo: fix linux build. 2018-02-24 18:40:24 +00:00
Al Poole e33a14b7e8 sysinfo: fix cpuclock for BSD.
This lets us use the cpuclock gadget on FreeBSD machines.

@fix T6259
2018-02-24 18:19:48 +00:00
Mike Blumenkrantz f77072444f fix luncher efreet event handling
this does not require a bar resize, a bar refill, or any object creation.
it only requires icon file setting.
2018-02-23 14:55:05 -05:00
Mike Blumenkrantz 846c84639b use per-instance event handler for batman powersave eventing
==19679== Invalid read of size 4
==19679==    at 0x5CC90EF: _ecore_event_message_handler_handler_del (ecore_event_message_handler.c:194)
==19679==    by 0x5CCA332: ecore_event_message_handler_del (ecore_event_message_handler.eo.c:22)
==19679==    by 0x5CBC7E3: ecore_event_handler_del (ecore_events.c:51)
==19679==    by 0x2A23F4F1: _batman_removed_cb (batman.c:579)
==19679==    by 0x6A9A33D: _eo_evas_smart_cb (evas_object_smart.c:78)
==19679==    by 0xC166F4D: _event_callback_call (eo_base_class.c:1560)
==19679==    by 0xC16728E: _efl_object_event_callback_legacy_call (eo_base_class.c:1633)
==19679==    by 0xC167334: efl_event_callback_legacy_call (eo_base_class.c:1636)
==19679==    by 0x6A889CA: _efl_canvas_object_efl_object_event_callback_legacy_call (evas_object_main.c:1157)
==19679==    by 0xC167334: efl_event_callback_legacy_call (eo_base_class.c:1636)
==19679==    by 0x6A9CBA7: evas_object_smart_callback_call (evas_object_smart.c:1037)
==19679==    by 0x500B1D: _gadget_remove (e_gadget.c:426)
==19679==    by 0x5037A9: _gadget_menu_remove (e_gadget.c:1263)
==19679==    by 0x552600: _e_menu_active_call (e_menu.c:2066)
==19679==    by 0x55445E: _e_menu_cb_mouse_up (e_menu.c:2809)
==19679==    by 0x5CC9933: _ecore_event_message_handler_efl_loop_message_handler_message_call (ecore_event_message_handler.c:359)
==19679==    by 0x5CD31D1: efl_loop_message_handler_message_call (efl_loop_message_handler.eo.c:14)
==19679==    by 0x5CCDA73: _efl_loop_message_process (efl_loop.c:681)
==19679==    by 0x5CCDC64: efl_loop_message_process (efl_loop.c:711)
==19679==    by 0x5CC7453: _ecore_main_loop_iterate_internal (ecore_main.c:2444)
==19679==    by 0x5CC457E: _ecore_main_loop_begin (ecore_main.c:1173)
==19679==    by 0x5CCC0CD: _efl_loop_begin (efl_loop.c:97)
==19679==    by 0x5CCED13: efl_loop_begin (efl_loop.eo.c:50)
==19679==    by 0x5CC46F7: ecore_main_loop_begin (ecore_main.c:1246)
==19679==    by 0x5476B6: main (e_main.c:1092)
==19679==  Address 0x212af268 is 40 bytes inside a block of size 48 free'd
==19679==    at 0x4C30D18: free (vg_replace_malloc.c:530)
==19679==    by 0x5CC9BE6: _ecore_event_message_handler_efl_loop_message_handler_message_call (ecore_event_message_handler.c:389)
==19679==    by 0x5CD31D1: efl_loop_message_handler_message_call (efl_loop_message_handler.eo.c:14)
==19679==    by 0x5CCDA73: _efl_loop_message_process (efl_loop.c:681)
==19679==    by 0x5CCDC64: efl_loop_message_process (efl_loop.c:711)
==19679==    by 0x5CC7453: _ecore_main_loop_iterate_internal (ecore_main.c:2444)
==19679==    by 0x5CC457E: _ecore_main_loop_begin (ecore_main.c:1173)
==19679==    by 0x5CCC0CD: _efl_loop_begin (efl_loop.c:97)
==19679==    by 0x5CCED13: efl_loop_begin (efl_loop.eo.c:50)
==19679==    by 0x5CC46F7: ecore_main_loop_begin (ecore_main.c:1246)
==19679==    by 0x5476B6: main (e_main.c:1092)
==19679==  Block was alloc'd at
==19679==    at 0x4C31A1E: calloc (vg_replace_malloc.c:711)
==19679==    by 0x5CC8EE1: _ecore_event_message_handler_handler_add (ecore_event_message_handler.c:148)
==19679==    by 0x5CCA0FB: ecore_event_message_handler_add (ecore_event_message_handler.eo.c:14)
==19679==    by 0x5CBC790: ecore_event_handler_add (ecore_events.c:35)
==19679==    by 0x2A23FB87: _batman_created_cb (batman.c:661)
==19679==    by 0x6A9A33D: _eo_evas_smart_cb (evas_object_smart.c:78)
==19679==    by 0xC166F4D: _event_callback_call (eo_base_class.c:1560)
==19679==    by 0xC16728E: _efl_object_event_callback_legacy_call (eo_base_class.c:1633)
==19679==    by 0xC167334: efl_event_callback_legacy_call (eo_base_class.c:1636)
==19679==    by 0x6A889CA: _efl_canvas_object_efl_object_event_callback_legacy_call (evas_object_main.c:1157)
==19679==    by 0xC167334: efl_event_callback_legacy_call (eo_base_class.c:1636)
==19679==    by 0x6A9CBA7: evas_object_smart_callback_call (evas_object_smart.c:1037)
==19679==    by 0x501172: _gadget_object_create (e_gadget.c:548)
==19679==    by 0x506B90: e_gadget_type_add (e_gadget.c:2056)
==19679==    by 0x2A23CA44: sysinfo_init (mod.c:161)
==19679==    by 0x2A23CCF5: e_modapi_init (mod.c:203)
==19679==    by 0x556814: e_module_enable (e_module.c:524)
==19679==    by 0x555DF9: e_module_all_load (e_module.c:324)
==19679==    by 0x554EFF: _module_done_cb (e_module.c:73)
==19679==    by 0x73531C1: eio_async_end (eio_file.c:510)
==19679==    by 0x5CF8D67: _ecore_thread_kill (ecore_thread.c:229)
==19679==    by 0x5CF8E1C: _ecore_thread_handler (ecore_thread.c:256)
==19679==    by 0x5CB97D0: _ecore_main_call_flush (ecore.c:1090)
==19679==    by 0x5CB9858: _thread_callback (ecore.c:1101)
==19679==    by 0x5CF51F3: _ecore_pipe_handler_call (ecore_pipe.c:602)
==19679==    by 0x5CF5529: _ecore_pipe_read (ecore_pipe.c:725)
==19679==    by 0x5CC3677: _ecore_call_fd_cb (ecore_private.h:476)
==19679==    by 0x5CC6793: _ecore_main_fd_handlers_call (ecore_main.c:2051)
==19679==    by 0x5CC7414: _ecore_main_loop_iterate_internal (ecore_main.c:2439)
==19679==    by 0x5CC457E: _ecore_main_loop_begin (ecore_main.c:1173)
==19679==    by 0x5CCC0CD: _efl_loop_begin (efl_loop.c:97)
==19679==    by 0x5CCED13: efl_loop_begin (efl_loop.eo.c:50)
==19679==    by 0x5CC46F7: ecore_main_loop_begin (ecore_main.c:1246)
==19679==    by 0x5476B6: main (e_main.c:1092)
2018-02-22 11:14:33 -05:00
Mike Blumenkrantz c0b0aba401 use the current pointer client for the xwayland drag client if owner is unmapped
qt seems to like doing this

fix T6644
2018-02-20 12:07:35 -05:00
Stephen Houston 6d6582e889 Luncher: Add a timeout for mousing out when preview already exists. Update preview on deskswitch.
This fixes https://phab.enlightenment.org/T6328 and https://phab.enlightenment.org/T6202
2018-02-14 12:53:47 -06:00
Mike Blumenkrantz 74dd3ad387 resolve even more null derefs from string parsing in vkbd
CID 1132747
2018-02-06 11:16:20 -05:00
Mike Blumenkrantz 5d59cf11dc toggle x_fatal variable when xwayland crashes 2018-01-22 16:35:34 -05:00
Mike Blumenkrantz 08bff48f71 fix some crashes with start gadget deletion
ref T6623
2018-01-18 15:59:16 -05:00
Mike Blumenkrantz 563fc94494 make xwl data offer writing async
I foolishly thought this was an impossibly rare deadlock condition

fix T6454
2018-01-12 12:26:21 -05:00
Mike Blumenkrantz 3dae27bfba remove xdg-shell v5 support
this cannot coexist with xdg-shell final due to symbol collisions
2018-01-10 11:38:53 -05:00
Mike Blumenkrantz 7a3b3d23f6 xdg-shell support 2018-01-10 11:38:53 -05:00
Mike Blumenkrantz 6985df9058 throw unconfigured buffer error as necessary in wl_surface.commit 2018-01-08 11:53:52 -05:00
Mike Blumenkrantz 5cc08794ee handle passed output resource for xdg-shell fullscreen request 2018-01-08 11:14:05 -05:00
Mike Blumenkrantz 7dcc295e6b protect against null deref when setting proxy vars in connman module
CID 1382957, 1382958
2018-01-08 10:46:25 -05:00
Mike Blumenkrantz d86b244799 simplify icon suffix detection in vkbd module
CID 1132746, 1132747
2018-01-08 10:46:25 -05:00
Thanatermesis 7ddfffcaba added ECORE_IMF_MODULE env option 2018-01-04 23:54:47 +00:00
Thanatermesis 3d9044a9fc improved default size for icons in menus that looks pixelated 2018-01-04 20:22:42 +00:00
Ross Vandegrift 629f7d41c8 clean up .desktop files and misc typos
Summary:
Drop deprecated Encoding key from desktop files

The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 0.22.1.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5585
2018-01-04 09:57:52 -05:00
Al Poole 43928a70fc luncher: fix slider on mouse scroll. 2017-12-15 20:08:10 +00:00
Al Poole 481a4d6611 build: fix meson build on FreeBSD.
Summary: -Dsystemd=false and -Ddevice-udev=false with this.

Reviewers: raster, zmike!

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-12-15 11:32:20 -08:00
Al Poole cb66473320 conf_theme: show appropriate background list.
If a new install show the system wallpapers. If a user supplied
wallpaper show the list of user supplied. If a system, show the
system list of wallpapers. On a fresh install on first use people
realise there are wallpapers!!!
2017-12-15 19:15:27 +00:00
Chris Michael cf80e5d2b2 Revert "wl-drm: Enable all degrees of screen rotation"
Reverting this as it has issues still, and when multi-output support
for wayland lands this is not going to work anyway.

This reverts commit 8f5299be08.
2017-12-15 11:41:14 -05:00
Chris Michael 61b07a16ff wl-drm: sort screen modes and assign zone->output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-15 11:09:56 -05:00
Chris Michael 26e2533d94 wl-drm: get screen geometry after e_comp_wl_init is called
This change is needed because if we call
ecore_evas_screen_geometry_get before calling e_comp_wl_init, then
when the drm2 randr settings are applied, the screen geometry could
change (saved resolutions are restored). This commit ensures that drm2
has the same resolution settings as the randr ones, and
screen_geometry_get will return the proper values now.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-15 11:04:20 -05:00
Marcel Hollerbach fbc72ceaee build: fix build on picky systems
there are a few systems out there that are checking the .so files that
are linked dynamically into a created shared library. This leads to a
problem, since the .so files often also carries unresolved symbols,
which are resolved by other dynamic linked .so files. However, to ship
arround those picky systems, we are not reacting to unresolved symbols
at all for now. The error will rise at runtime and come up in a nice
little dialog instead.

this fixes build on bsd
2017-12-11 15:49:07 +01:00
Chris Michael 8f5299be08 wl-drm: Enable all degrees of screen rotation
This patch enables all degrees of rotation to be selectable in the
Screen Setup dialog. It then applies the rotation based on hardware or
software ... that is, if the hardware can do the selected rotation,
then we use hardware otherwise we will use ecore_evas_rotation
functions (software).

ref T5999

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-05 10:10:57 -05:00
Stephen Houston 2b165e75e3 Lunchers: If hide tooltips is set, don't even show them on delay. 2017-12-04 14:44:52 -06:00
Stephen Houston b19cceb224 Luncher: Add config options to not show tooltips on mouse in 2017-12-04 10:35:59 -06:00
Marcel Hollerbach 9581a48280 meson: wl_drm now requires libdrm
this fixes building
2017-12-03 13:16:01 +00:00
Marcel Hollerbach c1177a1c15 meson: fix build
everything that includes e.h needs deps_e as dependencys, otherwise headers may not be found
2017-12-03 13:14:39 +00:00
Chris Michael c3f630d36c vkbd: Fix null pointer dereference
These look like simple copy-paste issues however coverity was
reporting null pointer dereferences here so fix those.

Fixes Coverity CID1382959

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-01 08:58:27 -05:00
Chris Michael 24937bfca3 vkbd: Remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-01 08:57:11 -05:00
Chris Michael 3a7f132560 conf-randr: No need to set this variable twice
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-28 11:17:07 -05:00