Extend ui-rules-enforcer.py to detect cases where
a GtkFrame's "label" child is not a GtkLabel, but
another kind of widget.
Any existing cases breaking that rule were previously
addressed in previous commits, see e.g.
commit 82308d6a68
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Thu Aug 7 16:15:12 2025 +0200
tdf#130857 svx: Don't use GtkBox as GtkFrame label child
for an example and more background.
Therefore,
for a in `git ls-files "*.ui"`; do bin/ui-rules-enforcer.py $a; done
doesn't report any issues any more, and adding this
rule is meant to help preventing that any new ones are introduced.
Change-Id: I367c2d52e32a66d123825f0ce820a29784c6f529
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189152
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tools and Non-Build Scripts
Tools and scripts mostly not used during the build
This direction has a number of key pieces (?) that are used during the
build, or are simply generally useful. One example is bin/run.
This utility can be used to run the executables in this folder:
workdir/LinkTarget/Executable
Format of the usage is:
./bin/run application [parameters]|--list|--help
Use --list (same as -list or -l) to get the list of executables Use --help (same as -help or -h) to get this help
Another example is:
bin/find-german-comments <directory>
which will try to detect and extract all the German comments in a
given source code hierarchy / directory.
Please note that the associated issue tdf#39468 is now marked as RESOLVED/FIXED, so don't expect many German comments.