Commit Graph

12463 Commits

Author SHA1 Message Date
Carsten Haitzler ee393a201f e backlight - restructure to have real per screen backlight
now it really does look for the right way to control per screen and
only use the new e_system back-end to query/list devices etc. ...

this now opens the door to adding ddc support to e_system then using
it from e_backlight.

i can't test this... yet - but this means in theory the backlight
gadget will control the backlight of the screen it is on...
2020-02-01 11:29:38 +00:00
Alastair Poole 7856939596 Revert "filepreview_widget: Show "Resolution" field when appropriate."
This reverts commit 555d64d5d5.

This is more fragile than I expected, reverting :/
2020-01-25 11:37:48 +00:00
Carsten Haitzler 0329696423 menu - handle invalid access to menu if already active
asan helped find this

@fix
2020-01-24 23:01:11 +00:00
Carsten Haitzler c9efd9c23d fix events on internal windows if placed on another desk with remembers
this fixes T8584

@fix
2020-01-24 19:50:15 +00:00
Carsten Haitzler 25699c1db7 move xdg env fixup/set set after e prefix determine 2020-01-23 08:24:49 +00:00
Carsten Haitzler 3f22a0c26d e - wallpaper gen - generate multiple resolutions for wallpapers
pre-scale a bunch of resolutions for generated wallpaper files that
intersect with common resolution sizes so e will automatically load
the nearest resolution to be more efficient on load to only decode
what is needed. a bi-product is that e now has a wallapper gen
tool that is simpler than writing your own edc files... :)

@feature
2020-01-22 20:39:19 +00:00
Carsten Haitzler 7323a97f2c e client sync rendering - disable some more sync handling to improve
rendering is so much less jerky and smooth now disabling this sync
handling. something has broken over time with wit and we're better off
without...
2020-01-20 17:06:54 +00:00
Carsten Haitzler bac870bf61 malloc.h - bsd does not like me including it... 2020-01-18 01:33:21 +01:00
Carsten Haitzler 1e2d589b14 csd - fix size hint handling and sizing to not be broken
gtk and efl can use csd. we kind of were copying gtk's but we got it
wrong... in efl. and in etoo as a result. this fixes it to use
min/bas/max size as covering the whole window including the insets.

@fix
2020-01-17 22:06:14 +00:00
Carsten Haitzler 13d721cea6 efm - add printf for eject req with info 2020-01-16 23:14:29 +00:00
Carsten Haitzler 5cc02d6467 Bring back e_sys just for mount, unmount and eject
This reverts commit a43869cdc0.

I still need this for efm... i forgot... :( So bring back the bits we
need until it's no longer needed...
2020-01-16 23:13:52 +00:00
Carsten Haitzler 5ce778194d e_sys.c - remove old snprintf of enlightenment_sys cmd not used now 2020-01-16 20:21:20 +00:00
Carsten Haitzler 0308c7abce e_open - special case for dirs - if no explicit one set - use efm
enlightenment_open will use efm to show a dir unless you have explicit
config saying to use another handler for inode/directory mime types
2020-01-16 19:09:26 +00:00
Carsten Haitzler af0d44a57d mem trimming - have e trim its own memory every now and again
use malloc_trim() if it exists to do this every now and again
(idle_enterer if there isa gap > 10 sec since last clean cycle
so no added wakeups).
2020-01-16 15:33:37 +00:00
Carsten Haitzler 5b5c7c3cb3 e system - force a malloc trim regularly to keep back-end proc minimal 2020-01-16 12:09:49 +00:00
Carsten Haitzler 63ae3290fb e system - remove test tool as we can't use it anymore
it'll just be a fight between e and a cmdline tool - so no more test
tool needed. this is off the ground.
2020-01-16 11:59:12 +00:00
Carsten Haitzler 37620211e5 e restart - use new exit code 111 for restart by parent e_start 2020-01-16 10:54:20 +00:00
Carsten Haitzler 6210b12294 mtrack - declutter - remove as i'm probably the only one ot ever use it 2020-01-16 10:51:41 +00:00
Carsten Haitzler 96d920b707 eina statgen - move to using api not env var as we need new efl anyway 2020-01-16 10:51:04 +00:00
Carsten Haitzler 6373d5583b move xdg data dir fixup to e_start to esnure its set super-early
now everything e launched should agree on xdg data dir if hose os
doesn't set it (bad host os!) :)
2020-01-16 10:38:54 +00:00
Carsten Haitzler 7e47977d9a printf format macros - put them in the right places for no warnings 2020-01-15 19:06:24 +01:00
Carsten Haitzler e122b2855f e start - fix warning on unused params when ptracing 2020-01-15 19:06:24 +01:00
Carsten Haitzler 9c8661abe2 efx - valid casts to silence warnings - same enum vals by design 2020-01-15 19:06:24 +01:00
Carsten Haitzler 13e696ce46 efx - fix type return type - still same actual value (0) 2020-01-15 19:06:24 +01:00
Carsten Haitzler 0e715f89b1 e fx - cast explicitly as 2 enums have same values by design 2020-01-15 19:06:24 +01:00
Carsten Haitzler 9022620366 e_fx - explicit case as enums have same values explicitly 2020-01-15 19:06:24 +01:00
Carsten Haitzler 0f1e2862a6 e win - fix recursive symbol typo
amazing this didn't blow up before. missing e_ in front ad the macro
should have transformed this to wrap the e version of this func...
clang warning pointed this out. a real bug waiting to happen.

@fix
2020-01-15 19:06:24 +01:00
Carsten Haitzler 10c2d74a9b e system api - fix warning about buffer ptr get
binbuf buffers are universally aligned anyway...
2020-01-15 19:06:24 +01:00
Carsten Haitzler fcb7f3c1ec e pointer -fix cast alignement warning
these will be aligned due to how evas works... so just silence this
2020-01-15 19:06:24 +01:00
Carsten Haitzler ea75a4384d e hints - put in some casts to silence earnings - enums are same vals 2020-01-15 19:06:24 +01:00
Carsten Haitzler 72a2f7e8aa e system cpufreq - silence bsd warnings for unused params and ifdefs 2020-01-15 19:06:24 +01:00
Carsten Haitzler fb9948738b e system test - fix warnings about aligned types 2020-01-15 19:06:24 +01:00
Carsten Haitzler 72496cbfeb e system backlight - fix bsd size type for sysctl 2020-01-15 19:06:24 +01:00
Carsten Haitzler a290469b4e bryce - fix warning on sign comparison 2020-01-15 19:06:24 +01:00
Christopher Michael ad68b07404 e_int_config_comp: Disable OpenGL options when selecting Software engine
This patch disables OpenGL radios & checks when a user selects
Software as the rendering engine.

ref T8553
2020-01-15 09:36:01 -05:00
Christopher Michael 16040d4492 e_int_config_comp: Disable VSync checkbox if we are using Software
engine

ref T8553
2020-01-15 09:20:35 -05:00
Christopher Michael 754a2d4f93 e_int_config_comp: Don't enable VSync checkbox if we are using
software engine

ref T8553
2020-01-15 09:03:23 -05:00
Christopher Michael 468c46d850 e_int_config_comp: Don't display vsync checkbox if opengl is not
supported.

ref T8553
2020-01-15 09:00:48 -05:00
Carsten Haitzler 5ec8fee280 e_randr2 - fix screen change detection to look at right prev screen 2020-01-15 11:33:55 +00:00
Carsten Haitzler 15a5a49835 e main - use exit code 111 to have e_start parent process restart e
this means no leaked fd's between restarts too. cleaner. it also
encorces "die with parent" for enlightenment_start too as another
bonus in addition to its own fifo handling for singleton access per uid.

WARNING: you need to log out and log back in since the "protocol
expectations" (what exit codes do what and what parent and child
process are responsible for) changed so to get them both back in sync
you need to log out and in.
2020-01-15 11:33:55 +00:00
Carsten Haitzler a43869cdc0 e_sys -> move from enlightenment_sys to e_system 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 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 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 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 a6cc86af44 e - stop trapping inlined windows - they shouldnt be 2020-01-03 17:44:37 +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