<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mate-settings-daemon/plugins/a11y-keyboard, branch 1.28</title>
<subtitle>MATE settings daemon</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/'/>
<entry>
<title>plugins: add missing x11 linker flags</title>
<updated>2024-08-15T17:59:01+00:00</updated>
<author>
<name>orbea</name>
<email>orbea@riseup.net</email>
</author>
<published>2024-03-17T17:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=1462391e13a746157924ce80b14d7fd68cd48430'/>
<id>1462391e13a746157924ce80b14d7fd68cd48430</id>
<content type='text'>
Many of the plugins depend on the libX11 and libXi linker flags, but
they are missing.

With GNU libtool the -no-undefined flag is silently ignored so the build
succeeds, but with slibtool is correctly sets -Wl,--no-undefined in the
linker flags.

Gentoo issue: https://bugs.gentoo.org/922326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many of the plugins depend on the libX11 and libXi linker flags, but
they are missing.

With GNU libtool the -no-undefined flag is silently ignored so the build
succeeds, but with slibtool is correctly sets -Wl,--no-undefined in the
linker flags.

Gentoo issue: https://bugs.gentoo.org/922326
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard-atspi: Fix memory leak</title>
<updated>2023-06-29T16:07:38+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2023-06-27T10:21:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=3f0a8070731e8e15f75e91dad715e479eae8a7b3'/>
<id>3f0a8070731e8e15f75e91dad715e479eae8a7b3</id>
<content type='text'>
Fix fairly large memory leak when beeping on keys while caps lock is
enabled.  The libatspi2 docs and API were quite misleading, so I
overlooked the fact the event parameter should be freed in the
callback.

This changes the constness of the callback argument, which is new in
libatspi2 2.40 -- yet the actual behavior didn't change, only the
qualifier was removed, see [1].
This might however bring up a compiler warning when building against
libatspi2 &lt; 2.40;  but on the other hand it fixed build with
clang &gt;= 16, see #399.  As it is unlikely to build with clang &gt;= 16
and libatspi2 &lt; 2.40, I think it's a good compromise.

[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/7dfb0b7fc2d1710ef7fad54f910fa4c6a5e3af17
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix fairly large memory leak when beeping on keys while caps lock is
enabled.  The libatspi2 docs and API were quite misleading, so I
overlooked the fact the event parameter should be freed in the
callback.

This changes the constness of the callback argument, which is new in
libatspi2 2.40 -- yet the actual behavior didn't change, only the
qualifier was removed, see [1].
This might however bring up a compiler warning when building against
libatspi2 &lt; 2.40;  but on the other hand it fixed build with
clang &gt;= 16, see #399.  As it is unlikely to build with clang &gt;= 16
and libatspi2 &lt; 2.40, I think it's a good compromise.

[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/7dfb0b7fc2d1710ef7fad54f910fa4c6a5e3af17
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard: migrate from dbus-glib to GDBus</title>
<updated>2022-11-03T07:39:11+00:00</updated>
<author>
<name>Wu Xiaotian</name>
<email>yetist@gmail.com</email>
</author>
<published>2020-06-28T12:47:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=24e01e9d0c1ed7844a2bddd751aa0e7908febbaa'/>
<id>24e01e9d0c1ed7844a2bddd751aa0e7908febbaa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a blank line at most</title>
<updated>2021-11-24T20:35:58+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-10-27T16:12:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=b44813818075a44412f58f65ee3181e3700400e7'/>
<id>b44813818075a44412f58f65ee3181e3700400e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyright to 2021</title>
<updated>2021-06-23T20:03:14+00:00</updated>
<author>
<name>raveit65</name>
<email>mate@raveit.de</email>
</author>
<published>2021-06-23T20:03:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=120d82281bff7757c3fe7619bb24fe0b72e2ccb4'/>
<id>120d82281bff7757c3fe7619bb24fe0b72e2ccb4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cppcheck warning: null pointer redundant check</title>
<updated>2021-01-31T16:11:58+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-01-21T18:55:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=2b43bc1c44e26d1ba9c6e25968c6284d448638f4'/>
<id>2b43bc1c44e26d1ba9c6e25968c6284d448638f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard: Add support for togglekeys-backend setting</title>
<updated>2020-09-05T16:02:41+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2020-08-05T17:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=7fc62dcf0d80f9fc8b6adc92aca3f837060e55c1'/>
<id>7fc62dcf0d80f9fc8b6adc92aca3f837060e55c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard: Delay registration of the plugin</title>
<updated>2020-09-05T16:02:41+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2020-08-05T13:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=4f45e7f964fef34e18f27cf6a844b3f2898860c0'/>
<id>4f45e7f964fef34e18f27cf6a844b3f2898860c0</id>
<content type='text'>
Delay registration of the a11y keyboard plugin to run after the
non-a11y keyboard one to avoid numlock state change conflicts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Delay registration of the a11y keyboard plugin to run after the
non-a11y keyboard one to avoid numlock state change conflicts.
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard: Add sanity checks on beep sequence preferences</title>
<updated>2020-09-05T16:02:41+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2020-06-24T08:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=6a1e58094e5ecafb3ec6358f428f511baf643dcf'/>
<id>6a1e58094e5ecafb3ec6358f428f511baf643dcf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a11y-keyboard: Manually beep for togglekeys</title>
<updated>2020-09-05T16:02:41+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2020-06-11T09:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-settings-daemon/commit/?id=69a67a7f04fc5c0e36a290ad7a3e7afb4e801083'/>
<id>69a67a7f04fc5c0e36a290ad7a3e7afb4e801083</id>
<content type='text'>
This allows a customizable and possibly different beep sequence when a
togglekey is enabled or disabled.  This is very useful for the user to
know for sure whether the feature got enabled or disabled.

Back in the days of buzzers, XKB was supposed to use different sounds
for each of those, but this is no longer the case now in the vast
majority of setups the beeps are intercepted and use a single recorded
sound.

XKB beeps are also unfortunately not configurable, although they
possibly should be on paper: in theory, one could alter the bell used
by listening to `XkbBellNotify` events, which provides a way to
discriminate bells through a name.  Unfortunately XKB's togglekeys
seems to suffer from a bug (?) for a long time, in that it will always
ring the `AX_IndicatorOn` bell if there is *at least one* indicator on
at the moment the bell is rung, and `AX_IndicatorOff` if and only if
*all* indicators are off.  This makes it virtually useless as it is not
possible to discriminate between an indicator getting turned on or off
in most cases, especially with NumLock which often stays always on.
Given this behavior dates at the very least as far back as X.org 1.16
which is from 2014, it probably is not very realistic to rely on a fix.

So instead implement togglekeys on our end by listening to the
`XkbIndicatorStateNotify` events.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows a customizable and possibly different beep sequence when a
togglekey is enabled or disabled.  This is very useful for the user to
know for sure whether the feature got enabled or disabled.

Back in the days of buzzers, XKB was supposed to use different sounds
for each of those, but this is no longer the case now in the vast
majority of setups the beeps are intercepted and use a single recorded
sound.

XKB beeps are also unfortunately not configurable, although they
possibly should be on paper: in theory, one could alter the bell used
by listening to `XkbBellNotify` events, which provides a way to
discriminate bells through a name.  Unfortunately XKB's togglekeys
seems to suffer from a bug (?) for a long time, in that it will always
ring the `AX_IndicatorOn` bell if there is *at least one* indicator on
at the moment the bell is rung, and `AX_IndicatorOff` if and only if
*all* indicators are off.  This makes it virtually useless as it is not
possible to discriminate between an indicator getting turned on or off
in most cases, especially with NumLock which often stays always on.
Given this behavior dates at the very least as far back as X.org 1.16
which is from 2014, it probably is not very realistic to rely on a fix.

So instead implement togglekeys on our end by listening to the
`XkbIndicatorStateNotify` events.
</pre>
</div>
</content>
</entry>
</feed>
