[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][debian/master] 54 commits: docked-manager: Check whether docked mode can be enabled

Guido Günther gitlab at salsa.debian.org
Thu Apr 29 15:06:18 BST 2021



Guido Günther pushed to branch debian/master at Debian On Mobile / phosh


Commits:
2cf27523 by Sebastian Krzyszkowiak at 2021-04-12T21:14:42+02:00
docked-manager: Check whether docked mode can be enabled

For some reason, docked mode sometimes gets enabled on its own (#421).
The reason why that happens is still unknown.

When that happens while the user has no dock around and no way to
easily ssh into the phone, the only thing that they can do in order
to make the phone fully functional again is to reboot it - otherwise
there's no OSK available and windows don't get maximized. Therefore,
let's log an error when that happens in hopes that it will provide
at least some insight about the issue.

- - - - -
23297677 by Guido Gunther at 2021-04-14T08:56:25+00:00
Merge branch 'docked' into 'master'

docked-manager: Check whether docked mode can be enabled

See merge request Librem5/phosh!765
- - - - -
ca5b4163 by Guido Günther at 2021-04-14T08:57:12+00:00
dbus: Fix indentation

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
5ac6c325 by Guido Günther at 2021-04-14T08:57:12+00:00
Add screenshot DBus protocol

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
a5cab643 by Guido Günther at 2021-04-14T08:57:12+00:00
wayland: Wire up screencopy global

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
76a5348b by Guido Günther at 2021-04-14T08:57:12+00:00
Add wl-buffer

Helper to get wl-shm buffers for e.g. screenshots

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
ac4600b0 by Guido Günther at 2021-04-14T08:57:12+00:00
Add screenshot manager

This, for now, just captures the primary display which is the main
use case on mobile.

See https://source.puri.sm/Librem5/phosh/-/issues/77

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
33f1a927 by Guido Gunther at 2021-04-14T09:51:10+00:00
Merge branch 'screenshot' into 'master'

Initial screenshot support

See merge request Librem5/phosh!782
- - - - -
4998bac9 by Anders Jonsson at 2021-04-15T02:05:19+02:00
po: Update Swedish translation

- - - - -
e6ba89e6 by Guido Gunther at 2021-04-15T09:48:09+00:00
Merge branch 'l10n-sv' into 'master'

po: Update Swedish translation

See merge request Librem5/phosh!783
- - - - -
fd80ae28 by Evangelos Ribeiro Tzaras at 2021-04-15T09:51:25+00:00
monitor-manager: fix typo

Closes #547

- - - - -
dc7e7052 by Guido Gunther at 2021-04-15T12:03:23+00:00
Merge branch 'fix_typo_monitor' into 'master'

monitor-manager: fix typo

Closes #547

See merge request Librem5/phosh!784
- - - - -
7f3880a1 by scootergrisen at 2021-04-15T14:33:09+00:00
po: Update Danish translation
- - - - -
1a854464 by Guido Gunther at 2021-04-15T18:36:46+00:00
Merge branch 'scootergrisen-master-patch-03788' into 'master'

po: Update Danish translation

See merge request Librem5/phosh!786
- - - - -
6113cada by Yuri Chornoivan at 2021-04-15T18:38:18+00:00
po: Update Ukrainian translation

- - - - -
f067f17d by Guido Gunther at 2021-04-15T19:48:31+00:00
Merge branch 'update_uk16' into 'master'

po: Update Ukrainian translation

See merge request Librem5/phosh!787
- - - - -
84eaab39 by Anders Jonsson at 2021-04-16T06:37:03+00:00
po: Update Swedish translation

- - - - -
484c9165 by Guido Gunther at 2021-04-16T18:42:23+00:00
Merge branch 'l10n-sv' into 'master'

po: Update Swedish translation

See merge request Librem5/phosh!788
- - - - -
5e752bdd by Daniel Șerbănescu at 2021-04-18T20:59:06+02:00
po: Update Romanian translation

- - - - -
6f8f9b08 by Guido Gunther at 2021-04-19T08:59:21+00:00
Merge branch 'romanian-updates' into 'master'

po: Romanian translation updates

See merge request Librem5/phosh!790
- - - - -
32a62656 by Guido Günther at 2021-04-21T23:25:34+00:00
css: Fix indentation

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
e2db0311 by Guido Günther at 2021-04-21T23:25:34+00:00
system-modal-dialogs: Add box shadow

This makes sure the dialog gets visually distinct e.g. on dark-mode
apps.

For that adjust the button border radius to avoid background bleed.

Closes: https://source.puri.sm/Librem5/phosh/-/issues/538

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
714ff149 by Sebastian Krzyszkowiak at 2021-04-22T00:00:40+00:00
Merge branch 'modal-dialog-css' into 'master'

system-modal: Add drop shadow

Closes #538

See merge request Librem5/phosh!791
- - - - -
6d3f7847 by Guido Günther at 2021-04-22T02:04:55+00:00
proximity: Make sure we destroy the fader when we unclaim the sensor

We must never blank screen when not tracking proximity.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
27844513 by Sebastian Krzyszkowiak at 2021-04-22T02:39:29+00:00
Merge branch 'prox-unblank' into 'master'

proximity: Make sure we destroy the fader when we unclaim the sensor

See merge request Librem5/phosh!795
- - - - -
b932eca4 by Guido Günther at 2021-04-22T03:27:23+00:00
home: Fix indentation

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
df144043 by Guido Günther at 2021-04-22T03:27:23+00:00
home: Fix use after free

add_keybindings() kept the GActionEntry around but not the 'name' string
of these. Those were freed by with overview_bindings and
app_view_bindings. When PhoshHome gets destroyed we iterated over
self->actions referencing already freed string names.

To avoid this don't track GActionEntries but rather just the action
names which also avoids reconstructing the GActionEntry in
PhoshGnomeShell:remove_action_entries().

This avoids the following valgrind error:

==14994== Invalid read of size 1
==14994==    at 0x56623D0: g_str_hash (ghash.c:2335)
==14994==    by 0x5660D6A: g_hash_table_lookup_node (ghash.c:473)
==14994==    by 0x5660D6A: g_hash_table_lookup (ghash.c:1513)
==14994==    by 0x54CDCBB: g_simple_action_group_remove_action (gsimpleactiongroup.c:234)
==14994==    by 0x17F480: phosh_shell_remove_global_keyboard_action_entries (shell.c:1287)
==14994==    by 0x168E2E: phosh_home_dispose (home.c:349)
==14994==    by 0x55E2438: g_object_run_dispose (gobject.c:1226)
==14994==    by 0x17CA10: panels_dispose (shell.c:271)
==14994==    by 0x17CA10: phosh_shell_dispose (shell.c:346)
==14994==    by 0x55E10A2: g_object_unref (gobject.c:3465)
==14994==    by 0x55E10A2: g_object_unref (gobject.c:3395)
==14994==    by 0x12B197: glib_autoptr_clear_GObject (gobject-autocleanups.h:27)
==14994==    by 0x12B197: glib_autoptr_clear_PhoshShell (shell.h:57)
==14994==    by 0x12B197: glib_autoptr_cleanup_PhoshShell (shell.h:57)
==14994==    by 0x12B197: main (main.c:80)
==14994==  Address 0xde089f0 is 80 bytes inside a block of size 96 in arena "client"

This was spotted on a regular phosh shutdown but would also trigger when
moving the primary display which recreates PhoshHome.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
42fe362a by Sebastian Krzyszkowiak at 2021-04-22T04:01:34+00:00
Merge branch 'use-after-free' into 'master'

home: Fix use after free

See merge request Librem5/phosh!792
- - - - -
c9151193 by 寮 at 2021-04-22T07:13:05+00:00
po: Update Japanese translation

- - - - -
fe4d5538 by Guido Gunther at 2021-04-22T07:58:08+00:00
Merge branch 'po-jp' into 'master'

po: Update Japanese translation

See merge request Librem5/phosh!794
- - - - -
ea75c7db by Mohammed Sadiq at 2021-04-26T15:40:33+05:30
meson: Fix build with tests disabled

If tests are disabled, run_phoc_tests is never set, resulting in an error
when the configuration is logged in root meson.build. So set it to
some default value so that it's possible to build without tests

- - - - -
db2c11af by Guido Gunther at 2021-04-26T12:23:43+00:00
Merge branch 'wip/sadiq/fix-build' into 'master'

meson: Fix build with tests disabled

See merge request Librem5/phosh!796
- - - - -
4e8bd9f3 by Guido Günther at 2021-04-27T07:30:23+00:00
system-modal: Drop unused struct member

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
c76a57ee by Guido Günther at 2021-04-27T07:30:23+00:00
screenshot-manager: Drop superfluous newline from debug message

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
3fb3964a by Guido Günther at 2021-04-27T07:30:23+00:00
wl-buffer: Name first argument 'self'

For consistency.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
43bc9210 by Guido Günther at 2021-04-27T07:30:23+00:00
wl-buffer: Allow to get data as GBytes

Although this involves a copy it makes sure we have proper reference
counting on the data.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
3033367f by Guido Günther at 2021-04-27T07:30:23+00:00
util: Add macro for empty or null string detection

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
11453a13 by Guido Günther at 2021-04-27T07:30:23+00:00
fader: Simplify fader

No need to bother all layers with the wayland details, just
pass in a monitor.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
ae750561 by Guido Günther at 2021-04-27T07:30:23+00:00
fader: Allow to set style class

This allows to use animations of any kind.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
958fe5dc by Guido Günther at 2021-04-27T07:30:23+00:00
screenshot-manager: Move filename handling to separate function

This will avoid additional nesting levels in follow-up patches.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
ba397f56 by Guido Günther at 2021-04-27T07:30:23+00:00
screenshot-manager: Copy to clipboard if filename is empty

Note that this only works if the shell has focus.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>

- - - - -
54d29faa by Guido Günther at 2021-04-27T07:30:23+00:00
screenshot-manager: Use fader for screen flashing

- - - - -
aae79dc1 by Guido Günther at 2021-04-27T07:30:23+00:00
screensaver-manager: Use an opaque surface to copy to clipboard

Waylands wants us to have focus to manipulate the clipboard so use an
opaque surface that gets input focus to copy to it.

- - - - -
2a42ef0c by Guido Gunther at 2021-04-27T08:04:58+00:00
Merge branch 'screenshot-followup-1' into 'master'

Screenshot follow up

See merge request Librem5/phosh!793
- - - - -
535504ca by Mohammed Sadiq at 2021-04-27T21:19:23+05:30
panel: Hide popover before folding top panel

Otherwise the popover shall re-orient to adapt with the parent
widget before it's hidden

- - - - -
f2550bf3 by Guido Gunther at 2021-04-27T16:30:20+00:00
Merge branch 'hide-panel-popover' into 'master'

panel: Hide popover before folding top panel

See merge request Librem5/phosh!800
- - - - -
38a59825 by Mohammed Sadiq at 2021-04-28T18:58:24+05:30
style: Use tabular font for clocks

So that the text has same size allocated and thus the text won't move
when the value changes, which is very much visible when clock shows
seconds

- - - - -
341d10ea by Guido Gunther at 2021-04-28T14:07:13+00:00
Merge branch 'use-tabular-clock-font' into 'master'

top-panel: Use tabular font for clock

See merge request Librem5/phosh!804
- - - - -
2d38d0e6 by Mohammed Sadiq at 2021-04-28T14:28:50+00:00
top-panel: Update power button style to match design

- - - - -
0a135f3c by Guido Gunther at 2021-04-28T15:03:30+00:00
Merge branch 'top-panel-style' into 'master'

top-panel: Update power button style to match design

See merge request Librem5/phosh!802
- - - - -
4ca327ec by Guido Günther at 2021-04-28T18:18:40+02:00
Document changes and release 0.10.2

A small release but there's some fixes especially affecting daily usage
and updated translations.

- - - - -
cf35b4da by Guido Gunther at 2021-04-29T13:20:40+00:00
Merge branch 'rel-0.10.2' into 'master'

Document changes and release 0.10.2

See merge request Librem5/phosh!799
- - - - -
4ebf621b by Guido Günther at 2021-04-29T15:32:24+02:00
Update upstream source from tag 'v0.10.2'

Update to upstream version '0.10.2'
with Debian dir fb08b68bd7a76acf709d6bf77749726668a77227
- - - - -
12189a3b by Guido Günther at 2021-04-29T15:33:11+02:00
Document changes and release 0.10.2-1

- - - - -


30 changed files:

- debian/changelog
- docs/phosh-docs.xml
- meson.build
- po/da.po
- po/ja.po
- po/ro.po
- po/sv.po
- po/uk.po
- src/dbus/meson.build
- + src/dbus/org.gnome.Shell.Screenshot.xml
- src/docked-manager.c
- src/fader.c
- src/fader.h
- src/gnome-shell-manager.c
- src/home.c
- src/meson.build
- src/monitor-manager.c
- src/panel.c
- src/phosh-wayland.c
- src/phosh-wayland.h
- src/proximity.c
- + src/screenshot-manager.c
- + src/screenshot-manager.h
- src/shell.c
- src/shell.h
- src/style.css
- src/system-modal.c
- src/ui/top-panel.ui
- src/util.h
- + src/wl-buffer.c


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/7d87cc16102bb1277173dbf4e78c04082948a362...12189a3b05ae7cec0223e623d2b7fa968780b767

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/7d87cc16102bb1277173dbf4e78c04082948a362...12189a3b05ae7cec0223e623d2b7fa968780b767
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20210429/502a334e/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list