Commit Graph

23899 Commits

Author SHA1 Message Date
Carsten Haitzler a43869cdc0 e_sys -> move from enlightenment_sys to e_system 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 f277ab71e7 e backlight - move to the new e system tool for backlight
no improvements like per screen brightness... but a straight
conversion to the new system tool which simplifies e backlight a lot.

it'd be betetr to use the new system also to read backlight value and
list lightss etc ... but for now this is a good first stage.
2020-01-15 11:33:55 +00:00
Carsten Haitzler f57572b678 e system - add new uber setuid tool to replace all the previous ones
so e has had a bit of a mess of setuid root tools to do things that
are essential to maintaing a functioning desktop/laptop/tablet/phone
like device like shutting it down or suspending or sqizzling the cpu
governor or messing with the backlight or... you get the idea.

this has been spread around enlightenment_sys and other special
purpose tools. this now unifies it into a single "always there"
enlightenment_system backend setuid root slave process whose job it is
to do all these things via a stdio protocol in an organized way. this
means latency to do something is lower, but at the expense of
consuming ram and a lurking process. unfortunately the lurking will be
needed soon when i add ddc support to make it even vaguely efficient,
so it's a cost i guess we have to pay now. we'll need this in future
as well for some stats collection and more.

still need to port existing code to use this instead of the existing stuff,
and then remove of the old stuff.
2020-01-15 11:33:49 +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 a9764f3e55 todo - add notes for ddcutil 2020-01-08 10:49:53 +00:00
Carsten Haitzler 9d0c123578 todo-- since randr issue fixed now 2020-01-07 14:25:20 +00:00
Carsten Haitzler 73e3911874 e randr x - fix mouseto use new ecore x api to force screen bound limits
use ecore_x_root_screen_barriers_set() new in efl git, thus bumping to
1.23.99 as a requirement for e.
2020-01-07 14:22:47 +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 5ad9734c9a randr - dont save instantly inline - comp may not be up. defer in job
save in a job later ... not instantly. as ave may involve an error
which may involve a dialog coming up which if compis not up yet...
boom.

@fix
2020-01-04 16:10:48 +00:00
Carsten Haitzler 04d395f2dd in the event of e_comp evas being null ... dont just fall over and die
@fix
2020-01-04 16:10:43 +00:00
Carsten Haitzler 6fddd05d95 e env - set E_HOME_DIR to e's config dir (~/.e/e/ normally) 2020-01-04 16:07:00 +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 a6cc86af44 e - stop trapping inlined windows - they shouldnt be 2020-01-03 17:44:37 +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 555d64d5d5 filepreview_widget: Show "Resolution" field when appropriate.
Summary:
This adds additional checks to ensure we dont add this field
when it shouldn't be there. Currently files like .tgz are
listing a "Resolution" on mouseover in EFM.

Test Plan:
Mouse over different file types. See inappropriate field.
Apply patch.
Mouse over file types. Resolution should only show for media.

Reviewers: raster, devilhorns

Reviewed By: raster

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D10783
2020-01-01 14:04:08 +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
Carsten Haitzler 5ef3f6bf50 todo++ - shot things 2019-12-17 17:19:12 +00:00
Carsten Haitzler 689d30635a todo++ 2019-12-17 17:07:24 +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
Stefan Schmidt 0bc71f4c9d mailmap: sync file from EFL master copy
The master copy in efl.git has seen updates which we need to sync back
here.

Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D10857
2019-12-12 11:36:57 +01: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 2c5c243b9e todo - add clipboard 2019-11-27 20:23:20 +00:00
maxerba 23dd83ba5c Updating french translation 2019-11-20 12:32:11 +01:00