Commit Graph

20484 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
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 42d8e3b07b pointer - use the swallowed obj geom as that is what we are tracking 2019-11-16 14:21:15 +00:00
Carsten Haitzler 60324a7b2c steam - special workaround for bad steam games so they match desktops
many steam games don't provide much in properites - not enough to
match to a desktop file. the only thing that actually consistently
works is to use the STEAM_GAME property and match thyat to the uri
provided to the steam command in the exec of the desktop file. this
actually can work. nothing else works reliably across the board.

and man can games be horrible and playing nice with desktops and
having poor properties. even steam itself is not good. i had to add a
workaround for that too to match steam-runtime explicitly. :(
2019-11-10 01:33:39 +00:00
Carsten Haitzler 7e81c0bd8e silence another ERR log with invalid obj type 2019-11-08 16:29:05 +00:00
Carsten Haitzler 6375d1a726 err logs - fix up some of the err logs i see accessing invalid objects 2019-11-08 08:45:31 +00:00
Carsten Haitzler 59e5ff63b5 e startup - increase timeout for efreet update events coming in 2019-11-07 14:34:24 +00:00
Carsten Haitzler 57a9f728a8 acpi - delay missing acpid dialog until after we've started up
with a timer it'll wait untuil after mainloop is running before it
times out and thus shows the dialog ensuring it appears once the
compositor is fully up. this should avoid weird sized windows.

@fix
2019-10-30 12:29:01 +00:00
Carsten Haitzler 7edb3550dd win stacking - fix stacking transients if there are multiple
if 1 parent has 2, 3 or 4 etc. transi3ents as immediate children we
reverse-stacked them. go to stacking them in order they are added
(which would normally bve creation order which makes more sense). this
stops some dialogs appearing intitally behind other dialogs that were
there before.

@fix
2019-10-30 11:18:46 +00:00
Carsten Haitzler 34a427e2a1 e init splash - remove almost all status strings as they are not needed
since now we basically bring everything up THEN start rendering once
we hit the main loop there is no point having init splash strings
anymore. it is no longer an external process. until e's compositor is
up you will see nothing anyway. if it is up these days we've finished
init as a smoothing out of startup has move everything before main
loop starts. so this code is all kind of useless, thus remove. cleanup
code.
2019-10-14 22:59:37 +01: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 fca53bbd3f e invert to set env var for fussy aborts as opposed to inverse
better stability for users.
2019-10-13 23:15:12 +01:00
Carsten Haitzler 1ff2b77bc4 comp show helper - make it a non-critical err
this stops an abort which is better for the user experience and is
recoverable.

fixes T8318
2019-10-13 23:12:02 +01:00
Carsten Haitzler 1a867c180d e alert - use the provided font ttf for the alert
this enforces the look i wanted, and also makes this work when no sans
or mono font exist.
2019-10-09 18:47:16 +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 a0fc5a7c30 ckpasswd: remove warning of unused var 2019-10-08 08:48:30 +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 c7d0d6e6c9 e - wl dmabuf - handle versioning for modifiers
this syncs with what weston does in handling versioning for modifiers.
2019-09-30 22:07:46 +01:00
Carsten Haitzler f8bda510a7 e randr - fix plug/unplug of external screen
it seems some logic to stop internal screen fake plug/unplugs from
interfering were hurting external screen plug/unplug. fix makes that
work again.
2019-09-28 18:44:08 +01:00
Carsten Haitzler 6d8a1bd3fe kill e process before alert in non-x uses 2019-09-27 19:29:14 +01:00
Carsten Haitzler fed69a7380 alert - move to using full efl stack for it
still have a problem - cant work in wl drm/kms mode because e still
holds the ownership/lock on the console, but using full efl to draw
the alert and even blink it...

this drops xcb requirement too.
2019-09-27 07:13:24 +01:00
Carsten Haitzler 754e56f68c e build fix - make uuid an explicit dep of gadget loader
fix build break thanks to latest 1.23 bet bleeding edge efl.
2019-09-25 18:45:31 +01:00
Carsten Haitzler e69a27a81c e comp - tell user about invalid env var options
it seems people are using these env vars so we should tell them if
they have invalid options.
2019-09-24 01:17:08 +01:00
Carsten Haitzler 2c91a2c24d backlight - update timer on power plug/unplug
this ensures a different timeout can be applied if you plug or unplug
power.
2019-09-21 23:04:09 +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 c16a58d75f warn - silence invalid alignment warning
these potrs are to structs we malloc thus will be universally aligned
for all data so... not valid. throw in a void * cast to do that.
2019-09-20 10:54:12 +01:00
Carsten Haitzler 6cb25300f1 e desk - remove unused vars 2019-09-20 10:47:23 +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 f89cb93829 e - bump config version properly in src
this doesnt resulti n a looping of wiz - but does result in a "version
too new of config" complaint and issues... so fix.
2019-09-19 19:29:28 +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 0d00264ca6 e desklock - only stay locked first restart after crash if locked 2019-09-11 15:22:55 +01:00
Carsten Haitzler d961e31436 blanking - special timeout immediately and force dpms todo
make special timeout universal and in all cases. cleaner with better
power management as we turn off bakclights earlier in some cases etc.
2019-09-11 10:56:21 +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
Carsten Haitzler 48c4ea17f2 e - fix up resize/move by kbd to work again
this used to work years ago ... it seems tihave broken. this fixes it
all up to work again so you can bind a move/resize of a window tothe
kbd and then use arrow keys etc. like you used to....

@fix
2019-09-04 19:17:12 +01:00
Carsten Haitzler 2430b36b84 e comp object - fix null comp win access on move begin
don't crash.

@fix
2019-09-04 13:34:05 +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
Alastair Poole 38ee777a1c e_xsettings: Set appropriate font sizes.
This sets GTK+/Qt font sizes appropriately by converting
from pixels to point.
2019-08-27 23:09:51 +01:00
Carsten Haitzler e49f4f8de1 e menu - fix type for setting fill to wrong obj... 2019-08-22 19:50:14 +01:00
Carsten Haitzler 02957edfe9 e gadgcon popup - actually for reals smooth out show
now it actually does look smooth. i oopsed in my last attempt.
2019-08-22 08:21:39 +01: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 9f5fa6d00f gadcon popup - smooth out show just a little by deferring to next loop
so this is kind of a hack, but a neat one - defer the object show
until the next loop to skip the time involved in object creation thus
starting nay animation after this has happened.
2019-08-18 09:45:08 +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 67da43ee36 e hints - fix beyond end of array fetch and segv
asan found this one.

@fix
2019-08-10 13:34:32 +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 2aae421d7a any dialog - nicety - emot focusd/unfocused sigs to base
makes for nicer themes... simple.
2019-08-10 00:48:39 +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 2158d46dba e comp obj - edje messages - also send on size change
so sned only if bx/y/xx/yy or size changed
2019-08-09 10:01:21 +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 855c7028c4 xkb core - make layotu set safer by udp before we free
this should fix another possible crash vector.

@fix
2019-08-09 00:40:18 +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 ac6ceb0b99 reduce getenv calls by only getting once
we do egetvn's quite frequently and this is more costly than
remembering once and getting it once... fix that in some cases.
2019-08-08 23:54:09 +01:00
Carsten Haitzler 78c26e5f8d e comp - dont send messages uselessly with same values to theme
when border changes send then but not all the time. this drops some
mebryo overhead i was seening.
2019-08-08 23:53:18 +01:00
Carsten Haitzler f76627a6be e comp - reorder alpha native etc. surface sets to avoid crashes
this also avoids spurious texture uploads so it should be an
optimization too, but more importantly... thisis a fix. it fixes T8021

@fix

yay yay yay
2019-08-08 20:44:14 +01:00
Carsten Haitzler 64ffda59ec e sys - if decklock on suspend is set and systemd says we suspend, lock
if systemd suspended and we hand't triggered it, and desklock on
suspend is enabled, then lock there and then because we need to. of
course you need systemd/logind... but hey... i guess without you live
with less... :) fixes logic hole

@fix
2019-08-08 09:56:04 +01:00