~profzoom/wmaker/+git/wmaker-ppa:manpage-section

Last commit made on 2021-10-09
Get this branch:
git clone -b manpage-section https://git.launchpad.net/~profzoom/wmaker/+git/wmaker-ppa

Branch merges

Branch information

Name:
manpage-section
Repository:
lp:~profzoom/wmaker/+git/wmaker-ppa

Recent commits

5870624... by Doug Torrance

Use quotes around "Window Maker" in translated manpage title headers

This matches the English manpage and also prevents
wrong-manual-section Lintian warnings in the Debian package, as "Maker"
was being interpreted as the section of these manpages.

894d096... by Lobotomy

WINGs: in WText, do not re-query Atom value every time they are used

It is resource-consuming to query the server for an Atom, yet the protocol
ensures the values will stay unique, so we'd better ask them once and
retain the values for further use.

a41b0aa... by Lobotomy

WINGs: Simplify function wstrconcat

Because we have allocated enough space, it is a waste of time to check the
size after copy and cat; beside the use of plain strxxx functions may allow
compiler to make a better job.

d4cc033... by Lobotomy

Util: Rewrite error message generation to avoid potential problem

The call to 'snprintf' may change the value of 'errno', which means that
the 'perror' call would print a wrong error message, not the one from
'fopen'.

308b9f4... by Lobotomy

Configure: Fix non-working libbsd usage when explicitly requested

Due to a missing comma, in the AS_IF the action run-if-false is actually
merged with run-if-true action, which means that with_libbsd is always
empty when user provides --with[out]-libbsd.

1d1c904... by Lobotomy

Configure: Place the argument checks at the beginning of execution

The autotool provides a simple mechanism which allows us to move ("divert")
the checks we do on the user arguments to the beginning of the script, yet
without needing to scatter the code.

This is good because we can raise errors very fast, user do not have to
wait until many other checks have passed before knowing he has to correct
his argument list; yet on our side we can keep related things together.

Signed-off-by: Christophe CURIS <email address hidden>

ca4ae50... by Lobotomy

WINGs: Simplify wglobaldefaultspathfordomain

The original code was over-complicated, it can be reduced to a one-line
call to a function that does the same thing, with the bonus that it will
behave better in the case where domain == NULL.

2649186... by Lobotomy

WINGs: Fix incomplete prototypes for functions that take no argument

dce34e9... by John D Pell <email address hidden>

wmaker.inst: remove all modification to ~/.xinitrc

I cannot imagine that modifying an existing ~/.xinitrc is ever wanted, and creating an ~/.xinitrc when none exists is much worse.

If a user created their own ~/.xinitrc, then don't modify it.
The user will modify it if they like.

If the user did not create their own ~/.xinitrc, then creating one will short-circuit X startup as `startx` will *replace* the system's version with the user's version.
Literally ~/.Xresources won't be loaded.
There's no way this is expected behavior.

a0b283a... by John D Pell <email address hidden>

WUtil: Be more strict about base directory for wmkdirhier()

The original code refused to create anything not in $WMAKER_USER_ROOT, now
we go one step further and limit creation inside its 'Library' or
'Defaults' sub-directories.