mutter/src/tests/monitor-configs
Thomas Mühlbacher 70cdd72040 monitor-config-store: Properly escape monitor spec
Makes sure that monitor specs which may be read from EDID data do not
contain characters that are invalid in XML. Makes it possible to restore
monitor configs of monitor models with characters such as '&' in them.

To make this change not break any tests, the sample monitor configs need
to be adjusted as well. Apostrophes don't strictly have to be escaped in
XML text elements. However, we now do escape the elements in
`<monitorspec>` specifically.

Closes: <https://gitlab.gnome.org/GNOME/mutter/-/issues/1011>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1685>
2021-01-29 16:49:58 +00:00
..
first-rotated.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
fractional-scale.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
high-precision-fractional-scale.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
interlaced.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
lid-scale.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
lid-switch.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
mirrored.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
non-preferred-tiled-custom-resolution.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
oneoff.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
primary.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
scale.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
second-rotated-tiled.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
second-rotated.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
single.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
tiled-custom-resolution.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
tiled.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
underscanning.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00
vertical.xml monitor-config-store: Properly escape monitor spec 2021-01-29 16:49:58 +00:00