Mike Blumenkrantz
990c0f1005
do ecore-x shutdown on xwayland shutdown
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
b873f9bd45
defer wl startup apps until after xwayland init completes
...
startup apps may require x11 connections, so ensure this is available
fix T6122
2017-10-03 12:39:03 -04:00
Stephen Houston
fdbf49af1b
Sysinfo: Cpuclock, Netstatus, and Thermal now use progressbars in the popups to unify and match all sysinfo gadgets.
2017-09-27 17:19:47 -05:00
Mike Blumenkrantz
00c968d63c
use correct env vars for connman proxy setting
...
https://curl.haxx.se/docs/manual.html
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
fb572c4c9d
fix proxy_excludes handling for connman in previous commit
2017-09-26 12:26:18 -04:00
Leif Middelschulte
67ca168f6f
support proxy settings provided by Connman.
...
Summary:
This implements support for Connman's proxy configuration.
The 'all_proxy', 'http_proxy', 'https_proxy' environment
variables are set to the first value of the 'proxy_servers' set.
The 'no_proxy' environment variable is set to a concatenated string
of all the 'proxy_exclude' values.
Reviewers: zmike!
Subscribers: cedric
Maniphest Tasks: T5442
Differential Revision: https://phab.enlightenment.org/D4833
modified by zmike
2017-09-26 12:26:18 -04:00
Carsten Haitzler
b9d166f804
use safer ecore_exe flags that close stdin/out/err if possible
...
this is specifically needed for wayland but is relevant to x with
startx too ... dont let processes that e runs like apps inherit
stdin/out/err as it may be a tty and thus allow apps to do nasty
things with that tty.
@fix
2017-09-23 23:10:35 +09:00
Marcel Hollerbach
49788a495d
meson: wizard also link_with here
2017-09-19 08:58:24 +02:00
Carsten Haitzler
320d689c9d
tiling - ensure notification struct is 0'd before use
...
this should fix the last 3 crashdumps reported in T6023
@fix
2017-09-19 07:56:29 +09:00
Marcel Hollerbach
d3e2fd1fd0
meson: wl_drm uses elput
2017-09-18 11:20:56 +02:00
Marcel Hollerbach
a69528a01f
meson: teamwork uses emile
2017-09-18 11:20:43 +02:00
Marcel Hollerbach
488fd0ad04
meson: specify that modules have unresolved apis
...
those are presented when they are loaded into e
2017-09-18 11:15:07 +02:00
Mike Blumenkrantz
6a53fe8f93
remove fdo interfaces from music control dbus xml
2017-09-15 13:36:44 -04:00
Mike Blumenkrantz
c478d4aaf4
fix meson wayland build without drm
2017-09-15 13:33:54 -04:00
Mike Blumenkrantz
50473083d1
remove futile null check
...
CID 1381166
2017-09-15 12:08:42 -04:00
Mike Blumenkrantz
164c87b1db
resolve desktop spec issues with emixer.desktop
...
fix T5076
2017-09-13 10:34:06 -04:00
Carsten Haitzler
82a82c13cc
pkgkit unknown string - fix typo
...
reported by scootergrisen
2017-09-13 06:33:58 +09:00
Mike Blumenkrantz
50fc7d1276
always hide wireless non-wired icons in gadget if wired connection exists
...
the most common use case when using a wired connection is to not also be
using a wireless connection
2017-09-12 13:21:04 -04:00
Stephen 'Okra' Houston
24591631ee
Pager gadget config: Don't add icon to an evas, add it to an elm widget.
...
This fixes T5952
2017-09-12 12:16:32 -05:00
Stephen 'Okra' Houston
20a96271ca
Update netstatus in/out in the same file read. Fix cpufreq to use powersave again.
2017-09-12 12:10:38 -05:00
Carsten Haitzler
73855900ed
Revert "Temperature module: Don't use e_powersave_sleep. It doesn't work for ticks faster than a second."
...
This reverts commit 4a92502f81
.
2017-09-12 11:03:46 +09:00
Carsten Haitzler
14e1583cd0
Revert "Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper."
...
This reverts commit f8e17b67e4
.
2017-09-12 11:03:42 +09:00
Stephen 'Okra' Houston
4bc8df4cbb
Fix bad formatting.
2017-09-11 13:37:14 -05:00
Stephen 'Okra' Houston
4a92502f81
Temperature module: Don't use e_powersave_sleep. It doesn't work for ticks faster than a second.
2017-09-11 13:35:43 -05:00
Stephen 'Okra' Houston
f8e17b67e4
Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper.
2017-09-11 13:24:54 -05:00
Stephen 'Okra' Houston
81fc3d6837
Luncher: When the icon is deleted, don't leave client menu callbacks hanging.
...
This fixes T5970
2017-09-11 12:50:57 -05:00
Stephen 'Okra' Houston
ed49a4e9d1
Luncher: Don't keep callbacks placed on dead objects hanging around.
2017-09-11 12:50:03 -05:00
Carsten Haitzler
eef7111e97
vkbd - merge in commented out wl code from weekeyboard
2017-09-09 08:33:27 +09:00
Stephen 'Okra' Houston
3b7926a20a
Netstatus: Average out throughput when time elapsed is greater than 1 second.
...
This isn't very accurate but seems to be what other tools that check at slower rates than every second do. For instance if you are checking every 10 seconds and in that time frame 500 kb was received, was the throughput for each second 50 kb? No, not likely, but that is the result you will see here. I guess this is one of those close enough things. Thanks to @davemds for reporting this issue.
2017-09-08 16:16:19 -05:00
Stephen 'Okra' Houston
7f3e7d933e
Show netstatus output in bits per second while still polling based on ticks to avoid unnecessary wake ups.
2017-09-08 15:18:23 -05:00
Mike Blumenkrantz
3506f550c7
only show options for hiding non-active wireless services in gadgets
2017-09-08 15:52:49 -04:00
Mike Blumenkrantz
ca10560705
refresh wireless gadgets upon toggling hide for services types
2017-09-08 15:52:49 -04:00
Stephen 'Okra' Houston
6f6f344c0a
Netstatus: Use proper label for throughput in config.
2017-09-08 14:11:00 -05:00
Mike Blumenkrantz
2b7bfe657c
add options for hiding service types in wireless gadget
...
fix T5975
2017-09-08 14:53:52 -04:00
Mike Blumenkrantz
340350fbbc
make some pager global vars EINTERN
2017-09-08 14:53:52 -04:00
Stephen 'Okra' Houston
ce61c37782
Netstatus: Don't show an incorrect unit on the popup label.
2017-09-08 09:29:53 -05:00
Mike Blumenkrantz
09952cb5ef
apply pointer focus to existing config dialogs from settings window
...
this should be more consistent with expected behaviors
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz
ef3ee4b258
further improve wireless gadget popup sizing
...
ref 55f4a37492
2017-09-06 14:31:00 -04:00
Mike Blumenkrantz
739eb9b679
add more files to autotools dist
2017-09-06 13:32:25 -04:00
Derek Foreman
c21c282483
Fix video explosion on rpi3 during screen blank
...
Seems like spamming dpms on when it's already on and we're rendering
is antisocial, so cut that out.
Fix T5977
2017-09-05 14:35:07 -05:00
Stephen 'Okra' Houston
ef43d6bd4c
Luncher: Remove the engage feature
...
The engage feature was mainly there as a demo of the capabilities of bryce. Now that we are nearing release we need to clean up our gadgets. The engage style for the luncher gadget is not complete, and does not work adequately, and quite honestly better belongs as a feature of bryce itself not luncher.
2017-09-01 13:52:09 -05:00
Mike Blumenkrantz
1a241a6c68
fix uninitialized var warning in pager
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
a49a73ed65
fix autotools sysinfo module build
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
ef6197b119
do not force client focus setting after calling e_desk_last_focused_focus()
...
in some cases focus setting must be deferred, and forcing focus in these cases
will create focus bugs
ref 9ae24a3a4a
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
e0ff23d83b
block pager gadgets on desklock sites
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
5f75193054
always set gadget ids when creating new non-demo gadgets
...
ensure gadgets aren't pruned on edit end
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
4e4dd8b7c0
add time config event rects to gadget popups list
...
attempt to preserve event propagation for sites in different environments
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
49084c5ced
don't update clock timer for time gadgets when deleting a non-advanced gadget
...
if the deleted gadget won't affect timers then don't update timers
ref T4648
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
6dd9205e0a
rename E_EVENT_COMPOSITOR_RESIZE -> E_EVENT_COMPOSITOR_UPDATE
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
55f4a37492
redo wireless gadget network list popup to use a table
...
sizehints.jpg
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
4bb1a6e702
set packagekit popup title entry as non-editable
2017-09-01 13:40:11 -04:00
Carsten Haitzler
9ae24a3a4a
e client focus - fix focus if moving focused window to new desk - long
...
fix client focus the very very very long way vs
418319fc94
2017-09-01 19:29:03 +09:00
Stephen 'Okra' Houston
0880d1795d
Luncher: Don't set preview state to menu. Set to alpha. Requires EFL update.
...
This fixes T5948
2017-08-30 20:15:47 -05:00
Stephen 'Okra' Houston
03ea4bfe39
Pager: Remember to remove deleted desks.
2017-08-30 13:22:23 -05:00
Stephen 'Okra' Houston
18ce3e4d93
Pager: Don't empty/fill pager unecessarily.
2017-08-30 11:27:45 -05:00
Mike Blumenkrantz
b5e75eb264
formatting
...
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04:00
Chris Michael
f5e19a7721
wl-drm: Add screen position to debug output
...
Small patch which adds the screen geometry to the output of drm2 randr
apply so we can test mutli-output setups and know which screen is where.
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-08-29 15:19:00 -04:00
Chris Michael
3cc70fc607
wl-drm: Properly retrieve output geometry and propertly set output mode
...
Previously when we were getting the output size, the resulting
geometry was being placed in the wrong variables which resulting in
randr screen config modes being set to zero. This patch also fixes the
issue where when setting drm2 output mode, we were always passing in
0x0 as the output geometry.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-08-29 15:19:00 -04:00
Al Poole
dece94b6ca
battery: fix typo.
...
Summary: Missed this one. Apologies!
Reviewers: zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5135
2017-08-29 09:18:42 -04:00
Davide Andreoli
27e8ce95b4
PKit gadget: more accurate progress bar
...
when opening a popup with an in-progress transaction the progressbar need to be created with the last received Progress value. Otherwise it will stay at zero until the next Progress change
2017-08-27 20:45:12 +02:00
Stephen 'Okra' Houston
2ab2fe18ea
Pager: Add the option to switch between live and plain pagers as well as switch to plain pager when saving power.
2017-08-26 14:24:20 -05:00
Stephen 'Okra' Houston
4a22d2f178
Don't dereference NULL pointers in sysinfo and cpuclock.
...
This fixes @CID1379941 and @CID1379947
2017-08-25 15:01:39 -05:00
Mike Blumenkrantz
c597ed69fd
prevent leak on tiling insert failure
...
CID 1379940
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
43976c8b85
check correct client prop bitflag in tasks module event
...
CID 1379944
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
1677ba7034
manage corresponding elm profiles when changing e profiles in cfg dialog
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
84a58aa004
clamp luncher icon size to 8x8
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0ee8cc896e
hide wl shell clients again after mapping if clients are on a hidden desk
...
fix T5544
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
592c2c7499
block some gadgets from appearing on desklock gadget sites
...
ref T4648
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
07ea23b5b9
handle xdg "autostart" directories in apps dialogs
...
a valid autostart directory can exist in any xdg data/config directory
according to spec, so ensure we check everywhere when listing them
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4cb05b4120
use clone of remembers list in window remember config
...
this modifies the remember list and guarantees a crash if sorting occurs
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0bd73b5a54
use client geometry for fileman popup positioning instead of win object geometry
...
window objects don't return accurate geometry under wayland
fix T3842
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4fe54ab81a
fix color class dialog sizing
...
ref T3682
2017-08-25 14:47:10 -04:00
Stephen 'Okra' Houston
5bcdfb0421
CPUMonitor: Don't pack the box in sysinfo mode.
2017-08-24 19:39:20 -05:00
Stephen 'Okra' Houston
1af5125cc9
Batman: Set the demo gadget to have full battery.
2017-08-24 08:08:41 -05:00
Stephen 'Okra' Houston
30ee8c5284
CPUMonitor: Make sure to set the number of cores so aspect calcs.
2017-08-24 08:06:20 -05:00
Stephen 'Okra' Houston
c7e6b52d2e
CPUMonitor: Fix aspect by using correct theme names. This requires an EFL update too.
2017-08-23 19:02:46 -05:00
Stephen 'Okra' Houston
ccf30bd726
Luncher: Don't use a second object for the overlay. This requires EFL updating due to theme.
2017-08-23 17:06:57 -05:00
Stephen 'Okra' Houston
ae9966970b
Pager gadget: Take advantage of new theme. For this to work, you must update EFL first.
2017-08-23 15:28:28 -05:00
Stephen 'Okra' Houston
ad46d041a8
Gadgets: Don't set gadgets to expand.
2017-08-23 09:55:59 -05:00
Carsten Haitzler
638ffe5853
mixer - fix segv on shutdown
...
this just got added... dont shutdown actions if no gmixer has been
created.
2017-08-23 17:39:14 +09:00
Stephen 'Okra' Houston
c3ae81586c
Backlight: Don't add del callback for demo gadgets.
2017-08-22 18:18:57 -05:00
Mike Blumenkrantz
38a95f0930
do not add del callback for demo mixer gadgets
...
fixes crash when destroying demo mixer gadgets if no real gadget exists
2017-08-22 18:31:35 -04:00
Stephen 'Okra' Houston
0332eca3c7
Mixer Gadget: Use demo gadget in places where demo gadgets are used.
2017-08-22 11:54:52 -05:00
Stephen 'Okra' Houston
062664d839
Backlight: Use a static number for demo purposes.
2017-08-22 11:10:48 -05:00
Stephen 'Okra' Houston
993f8ad519
Sysinfo Gadgets: Provide only demo data and don't poll/thread when gadgets are in demo mode.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Stephen 'Okra' Houston
12b8f482ed
CPUMonitor: Don't try and delete objects after the gadget has been removed.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Carsten Haitzler
4fc49bdcca
vkbd - begin someinfra to support wayland
2017-08-22 21:01:03 +09:00
Marcel Hollerbach
338ce6f11c
meson: install emixer correctly
2017-08-22 09:30:36 +02:00
Carsten Haitzler
159cb21cda
vkbd - forgot to mark text in vkbd to scale... do that
2017-08-22 09:59:09 +09:00
Mike Blumenkrantz
40df7bddc8
make grab dialog text read a bit more clearly
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
c31cb51499
replace <br> with <ps/> for all text
2017-08-21 10:16:35 -04:00
Carsten Haitzler
c93d394f3b
vkbd - fix 2 finger floating drag
2017-08-20 11:54:00 +09:00
Carsten Haitzler
282ead59a1
vkbd - fix seg with multi touch
2017-08-20 11:29:06 +09:00
Carsten Haitzler
da791a0bf5
e mixer - handle pulse exit/disconnect and not keep e client sinks
...
we keps e client sinks even if we were dicsonnected from pulse... this
caused fun crashes. fix
@fix
2017-08-20 01:02:03 +09:00
Carsten Haitzler
074b3fe1eb
e - add vkbd for convertibles (tablets, laptops ... phones)
2017-08-20 01:01:58 +09:00
Mike Blumenkrantz
e27132757c
don't set gadman overlay gadgets as editing if overlay not visible
...
this screws up mover visibility
fix T3291
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
832bd3bc1d
check imc exe existence before showing in imc dialog list
...
don't show things which will definitely fail
fix T1526
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
385354f051
remove invalid framelist call on frametable object in imc dialog
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
3c31e67b05
use menu item geometry to determine whether menu item is onscreen
...
fix T2126
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
cfb40865bc
re-select previously selected font+size in font class config
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6f2fb8b071
refill tasks gadgets on MISC client property events
...
fix T5769
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
787c7825d2
unify tasks module client property handlers
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
91dc28967a
add separate desklock key up handler to correctly handle caps lock on wayland
...
x11 modifier handling in events is broken: the modifier state is the state from
before the event, meaning that pressing caps lock will never result in an event where
the modifier is not set in the corresponding event
wayland handles this more sensibly, though it should be detected on key up rather
than key down
fix T5737
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
35594d43f9
only pop a single dialog to notify about all fail themes in theme dialog
...
popping a million dialogs is super annoying
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2832d893cc
set transparent state for luncher preview wins when win has alpha
...
this should probably use a mask to provide just the outline in the theme?
@jpeg
fix T5741
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
487eb17d5f
always align ibar inner box to the left
...
fix T5041
2017-08-18 15:52:50 -04:00
Marcel Hollerbach
8537923d2e
everything:declare this object as const
...
The object is not meant to be moved, we only subscribe click events on
it, this isnt really changing the context where the api wants to declare
it const, so for now safe it everywhere as const and register /
unregister the callbacks with casts.
2017-08-17 18:46:51 +02:00
Marcel Hollerbach
5eed5f6fdb
tiling: give a better error message if a client doesnt fit
2017-08-15 10:59:15 +02:00
Marcel Hollerbach
bf146faf72
mixer: find a better name
...
if pa does not provide the name via the proplist we can just use the
information from name if the name exists
2017-08-14 17:35:36 +02:00
Marcel Hollerbach
d9737ddba5
tiling: change description
...
in one of the last commits i accedently just changed the title on
deletion not when we are creating the action.
fixes T4499
2017-08-14 10:13:49 +02:00
Marcel Hollerbach
430d7e0bb2
everything: use correct edje api
...
everything used here edje_object_part_swallow_get, which is somehow
wrong, since we dont really know if the everything theme gives the type
swallow, using the plain object_get of edje is the solution here. Its
returning a alias object that is hiding the internal edje object.
2017-08-13 21:18:49 +02:00
Davide Andreoli
ac0e78201e
pkit gadget: do not autoclose the popup
...
Like the majority of other gadgets
2017-08-13 20:08:49 +02:00
Marcel Hollerbach
2e5c9cbe71
tiling: show notification if a client cannot be tiled
...
this at least tells the user that the client could not be tiled and not
just mysterically putting it under floating.
2017-08-13 19:06:07 +02:00
Davide Andreoli
0d5bc403c6
pkit gadget: popup title in bold
2017-08-13 08:41:16 +02:00
Davide Andreoli
8a5b878443
pkit gadget: show the button only if a packager manager is configured
2017-08-13 00:33:40 +02:00
Davide Andreoli
dfcf6d960f
pkit gadget: a new help "mode" that show the icon meanings
2017-08-13 00:21:03 +02:00
Marcel Hollerbach
de21e6ddb8
tiling: fix insertion in the tree
...
the problem here was that in the initial case the function got the
previous state of the tree wrong, so the insertion of a second client
ended up in a unpossible state of the tree, this should not happen
anymore now.
The insertion is now also way more stable, since in a errorcase the
client is not just not placed in the tree but associated with a window
tree, its just not placing the client in the window tree at all.
2017-08-12 22:30:33 +02:00
Marcel Hollerbach
f1fb4a0c83
tiling: only use the insert function
...
this brings all possible bugs due to insertion to one single function
2017-08-12 22:30:33 +02:00
Davide Andreoli
1e2fa5649e
pkit gadget: show a nice progress bar while working
2017-08-12 22:30:00 +02:00
Davide Andreoli
5fa85726ee
pkit gadget: cosmetics, no functional changes
2017-08-12 19:52:16 +02:00
Davide Andreoli
ef8cc77790
pkit gadget: add ability to install updated directly from the gadget !
...
You can install all updates or select the packages you like.
The update work without asking any password, if it doesn't works check the
org.freedesktop.packagekit.system-update Polkit permission
(work out-of-the-box on Arch Linux, just install packagekit)
2017-08-12 19:28:59 +02:00
Carsten Haitzler
7660a6aabc
meson build - simplify and cleanup evrything module
...
all done now! :)
2017-08-12 13:40:49 +09:00
Carsten Haitzler
5e59869a62
meson build - mixer - simplify for module build setup
...
it's still complex anyway... :( but a little smaller
2017-08-12 13:40:44 +09:00
Carsten Haitzler
397e21d0de
meson build - simplify wizard module build like others
2017-08-12 12:25:53 +09:00
Carsten Haitzler
1d90c87334
meson build - minimize teamwork meson build too like other modules
...
also simplify build if's...
2017-08-12 12:00:53 +09:00
Carsten Haitzler
94f3cc4a2a
meson - wl module builds - make them all consistent
2017-08-12 11:11:32 +09:00
Al Poole
7df7b1f5fa
FreeBSD: fix broken build.
...
Reviewers: zmike!, raster
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5092
2017-08-12 10:49:38 +09:00
Marcel Hollerbach
3aa126a90d
meson: build again without wayland
2017-08-11 19:29:36 +02:00
Carsten Haitzler
4b6e25d6c4
meson - remove uneeded array definition for files
...
files is alrteady an array of file objects...
2017-08-11 20:47:21 +09:00
Carsten Haitzler
e464449511
meson build - simplify 3 more wl modules to use generic parent harness
...
this makes wl_text_input wl_desktop_shell and wl_weekeyboard use the
generic build, add to the src list the generated files
2017-08-11 20:44:38 +09:00
Carsten Haitzler
16a702ac73
meson - make modules with helper binaries simpelr to build
...
this makes modules with a binary helper simpler to build using the
parent module build harness as much as possible. i probably could
simplify this down to a single binary only and it is either setuid or
not... define the deps and flags ... it could be a bit simpler. not
much. i also removed the if's in the build for battery and ifdefs in
src handle it instead (imho simpler to maintain in src). sysinfo still
uses the if's there.
2017-08-11 19:50:48 +09:00
Davide Andreoli
ee412d8913
pkit gadget: a better initial config
2017-08-11 05:53:15 +02:00
Davide Andreoli
2222ba2081
pkit gadget: use genlist instead of list
...
* feature a double-label version with more info for packages
* swapped icon placement, much better for space usage now
2017-08-11 05:53:15 +02:00
Cedric BAIL
d8b9ea9f9b
wl_drm: do not say you have wl_drm backend in config.h when you have not.
2017-08-10 10:27:49 -07:00
Carsten Haitzler
c80766dfa2
e meson build - refactor and clean up config and some module only cfg
...
config that is only needed fro modules only needs to be don in the
modules subdir meson.build... i tried doing what modules do but output
files cant have paths.
2017-08-10 23:14:12 +09:00
Marcel Hollerbach
4af2976a54
meson: add HAVE_DRM2 and HAVE_WL_DRM
...
for now i just added HAVE_WL_DRM but its just the same as
USE_MODULE_WL_DRM, maybe we can replace HAVE_WL_DRM once autotools is
gone, so we have a clear pattern.
2017-08-10 15:31:33 +02:00
Davide Andreoli
016b432793
pkit gadget: use elm widgets directly
2017-08-10 10:36:25 +02:00
Derek Foreman
0fd23928f0
Add a compatibility layer to protect against ecore_drm2 api change
...
In case we roll an E release before the next EFL one, we need these
API changes to be hidden.
Later we can remove this...
2017-08-09 14:59:26 -05:00
Derek Foreman
50169af1db
Update to recent ecore_drm2 changes
2017-08-09 14:59:25 -05:00
Carsten Haitzler
dc9879c6ef
meson build - fix use module defines to be upper case again
2017-08-09 09:24:55 +09:00
Carsten Haitzler
24cf739b2c
meson build - geolocation - indent the same as other files
2017-08-09 09:22:26 +09:00
Carsten Haitzler
71e1744147
e - conf_display - fix meson build break which dropped a src file
2017-08-09 09:17:36 +09:00
Marcel Hollerbach
5b03bfabc3
pager: do not define Config twice
2017-08-08 18:46:45 +02:00
Marcel Hollerbach
2888072547
meson: underscrorify the module name
...
otherwise we could confuse the prepocessor of c
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
c0e6628651
meson: port geolocation
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
1caa140503
meson: port music-control
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
29901d67b2
meson: use file instead of doing the relative path by hand
...
a reason for doing that is that you can just pack together targets into
a array and pass them to our helper, and the helper will just handle
them, so even module with eldbus codegen etc is now supported.
This also means that we are just passing the src object directly into
the shared_module call, which means the user of our helper can just pack
everything he needs into the src var and the helper does not need to
know about it.
2017-08-08 18:38:37 +02:00
Mike Blumenkrantz
795d8de8c7
set clock gadget id on creation
...
fix T5851
2017-08-07 14:43:37 -04:00
Al Poole
6bd2d74cdc
sysinfo: fix single-core OpenBSD results.
...
Summary:
Basically missed this one. CPU_STATES is 6 as it's still supposedly a work-in-progress. But we only need 5 for all
queries (for now).
Reviewers: stephenmhouston, zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5070
2017-08-04 17:22:32 -04:00
Mike Blumenkrantz
0ada5a03bb
remove wizards from time module gadgets
...
these were added mostly for the purpose of testing the wizard functionality,
but a wizard should only be used when a gadget cannot function without being
configured
ref T5796
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
7a3876ffc9
add and use new event for zone useful geometry changing
...
many times it's useful to have an event for actual zone geometry change
vs useful geomtry change, so split this out and use the right handler where appropriate
2017-08-04 16:05:15 -04:00
Carsten Haitzler
694c628ce3
mouse cinbings config dialog - fix warnings
...
use slightly bigger buffer to silence warnins (we'll never use i large
or negative enough to matter...) but enough warning noise anyway.
2017-08-04 14:58:33 +09:00
Carsten Haitzler
650d7aa82c
mod filemane - remove ancient instance theme path code not used...
...
this also removes warnings. too many anyway
2017-08-04 14:56:45 +09:00
Carsten Haitzler
3fd90549b4
batget - fix warnings about buffer sizes
...
not an actual bug but too much warning noise.
2017-08-04 14:53:30 +09:00
Carsten Haitzler
ec37c5e7eb
batman - fix buffer warning by hanving big enough stack buffer
...
makes gcc warnings happy but otherwise doesn't hurt us as the buffer
should be at the top of the stack (last pushed) and only bytes used
will be allocated.
2017-08-04 14:09:25 +09:00
Carsten Haitzler
03aeb1d463
fix fallthrough warnings
2017-08-04 12:35:27 +09:00
Carsten Haitzler
a2afa0afd2
xwayland module - fix fallthrough annotation
2017-08-04 10:37:46 +09:00
Carsten Haitzler
be41ac3de0
fix autofoo build to match renaming scheme used for meson
2017-07-30 23:20:27 +09:00
Carsten Haitzler
c078a6df1d
connman module - lower err's to warns as this actually happens
...
and... it's not an errort as such - it's the other end not supporting
something. that's ok with this ipc api i would say.
@fix
2017-07-30 22:59:53 +09:00
Carsten Haitzler
6ab9c576df
meosn build modules - more modules build with the generic builder harness
...
module build files are so much simpler now...
2017-07-30 17:07:57 +09:00
Carsten Haitzler
a70b683ffd
wireless module - dont segv e if connman daemon restarts
...
so i get a new service of type WIRELESS_SERVICE_TYPE_NONE that's going
to suck when accessing arrays by type like wireless does like
array[cs->type] ... so check type value and if its invalid kill off
the cs as we can't do much useful with it. this fixes an actual segv e
gets if you restart the connamn daemon while e runs.
2017-07-29 08:55:36 +09:00
Carsten Haitzler
69290dd7f4
e module build - make build files far more generic and far smaller
...
now mdoule build files that fllow one pattern (the most common by far)
all JUSt list their souce files and nothing else. this really cuts
down on build size/complexity.
there are other patterns too (no icons at all) that i'll do next, then
we're down into "weird" land where i'll have to think of some more
interesting ways to deal with this.
2017-07-29 08:55:36 +09:00
Carsten Haitzler
380739756c
move option if further out in generic module build foreach
...
do less work if module not enabled... also make it a bit simpler and
cleaner in the generic foreach
2017-07-29 08:55:36 +09:00
Mike Blumenkrantz
a0619c5481
partially revert "add new powersave features for supporting a live sleep mode"
...
ref 7caf5c8ff4
this makes the cpufreq gadget consume >100% cpu at all times when anything above
normal polling speed is selected
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
13cf6f638d
handle time gadget removals for unconfigured gadgets without crashing
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
403819fc21
fix mixer logging to use mixer log domain
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
37014499b1
don't create xwl receive pipe for SelectionRequest when getting the selection
...
this seems to sneak in sometimes even though it's totally wrong?
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
36c3a90689
add text/plain;charset=utf-8 to xwl-created wl clipboard data source
...
UTF8_STRING is not an accepted mime type, use wl equivalent
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
fcd7332378
set xwl-originating data source dnd actions during source creation
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
c0e8585cce
free xwl selection atom names after creating selection source
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
5a13ab0385
handle xwl data source cleanup more effectively
...
ensure source is freed and references to it are unset when changing selection
2017-07-28 15:44:55 -04:00
Mike Blumenkrantz
def1b28174
save xwindow of x11 selection owner, not client
...
gtk uses non-application xwindows for managing selections, so this would always
fail when bridging selections from gtk apps
2017-07-28 15:44:55 -04:00
Derek Foreman
fbceceff5a
Fix geometry for drm outputs
...
It appears that config.geom.x and config.geom.y specify the corner of
an output in global space, but ecore_drm2_output_mode_set's x and y
are offsets into the framebuffer for the corner of the display.
Just pass 0, 0 and everything will be ok.
2017-07-27 15:20:32 -05:00
Carsten Haitzler
3932a069f7
build - remove policy mobile module
...
this module is not loaded by any other (dependency) nor is it loadable
via the gui - no module/desktop there thus will be hidden... so it's
useless/unused... thus remove it as its not usable by users.
2017-07-27 20:23:59 +09:00
Carsten Haitzler
669604d1cd
meson generic module build - dashify the option string
...
thanks marcel for the split.
2017-07-27 18:37:56 +09:00
Carsten Haitzler
ce3b72e371
meson build generics - ooops. missed files. add now
2017-07-27 18:32:43 +09:00
Carsten Haitzler
822a0bcacb
e module build - make ibar and clock really simple and generic
...
now their build fiels are super easy to maintan. we should expand this
kind of ptterning aross the e build and then expand it to handle new
patters where needed like custom binaries (setuid or not), etc etc.
2017-07-27 18:30:11 +09:00
Carsten Haitzler
f6d9eeb99a
meson - clock and ibar - use same template as most modules now
2017-07-27 17:50:37 +09:00
Carsten Haitzler
30ed7e5f45
e build - make 2 modules (music contrl and pager plain) consistent
...
icon name was not consistent with other patterns, so fix that so we
dont have exceptions.
2017-07-27 14:47:21 +09:00
Carsten Haitzler
84bf48b3ed
module build - clean up and fix meson install of pretty much all modules
...
so we';re missing installing desktop files. edj icon files, wizard
data files in the wrong place, and much more. this also cleans up the
module meson build of pretty much all modules and make their build
files cimple and consistent so it's far easier to re-use things from
one module to the next. we should aim for simplicity, consistency
between as much as possible so we can refactor and turn into maybe
functions later. imho that starts with consistency though. until i can
see all the common patterns clearly, i don't want to write functions
yet. it's easier to see if all the files are consistently using the
same vars and formatting etc. etc. etc.
but either way the installation needs fixing so it installs all files
in the right places with the right permissions etc. etc. etc.
this doesn't fix all module build files bt all the ones i found that
were broken installs and they use what i think is a cleaner/simpler
template, BUT there is far too much copy & pastage here... far too
much.i need to find a cleaner way to automate this.
2017-07-27 14:29:30 +09:00
Stephen 'Okra' Houston
59a6892984
Netstatus - Fix dupclicate Receiving labels.
2017-07-24 13:53:53 -05:00
Marcel Hollerbach
29ef798c26
meson: also install the tiling-theme
2017-07-22 21:25:47 +02:00
Carsten Haitzler
b976006bb5
meson build - fix mixer build because the defines are only for existence
...
we use these defines with
ifdef xxxx
not #if xxxx
and so they should ne undefed when not there and otherwise value when
defined is irrelevant as long as they are defined.
so use set not set10
2017-07-22 17:00:25 +09:00
Carsten Haitzler
5d7db1cb89
fix meson build for appmenu module - missing src files
2017-07-22 11:28:37 +09:00
Mike Blumenkrantz
7a020fbcb6
use e_util env functions in time module
...
ref T4648
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
48a7181089
add a configurable default policy (default: extend) for screen hotplugging
...
make an effort to "just work" instead of the classic enlightenment ux of being
as annoying as possible
ref T5707
2017-07-21 14:42:29 -04:00
Mike Blumenkrantz
580233b256
use real sizing for screen config mode list, not 1xheight
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
411d407b86
use more descriptive label than '???' for unconfigured outputs in scren config
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
e8dc71cd48
meson.
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
3055c0ecae
remove wl screenshooter protocol
...
this should never have existed, as it makes no sense for a compositor to
use protocol in order to allow itself to take screenshots
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
f605dd6441
use snapshot object for shot module
...
now this is the same under all display servers
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
b0e13c8ca4
do not include e.h in batget.c
2017-07-20 17:18:33 -04:00
Al Poole
b57802b2c4
sysinfo: Fix BSD build.
...
Reviewers: stephenmhouston, zmike!, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5027
2017-07-19 08:55:09 -04:00
Carsten Haitzler
e7eaef62f3
powersave usage - dont use usleep at all. pwoersave sleep replaces it
...
also... there isn't realy a need to track the screensaver state...
powersave sleep will drop back to an hour between sleeps if we're in
freeze mode (it could be longer or even be indefinite). it will be
woken up if powersave state changes...
2017-07-19 10:31:20 +09:00
Stephen 'Okra' Houston
5370793399
Sysinfo Gadget: More thread vs object lifetime work: Make threads no longer dependent on the main loop objects and vice versa.
2017-07-15 21:32:38 -05:00
Stephen 'Okra' Houston
139045c120
Sysinfo Gadget: Unify define macro checking.
2017-07-15 21:32:11 -05:00
Al 'netstar' Poole
d7538011ec
Modules: Fix compilation and remove warnings for BSD
2017-07-15 21:32:11 -05:00
Mike Blumenkrantz
b7e8e886e9
do not generate module.desktop files
...
the purpose of this is to allow variable substitutions, but no desktop
files do this so it's a waste of build time for no reason
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
55e1640261
don't free x11 clipboard source immediately
...
ref T5738
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
94633fbde1
fix wayland-only build
2017-07-14 18:40:50 -04:00