Many documentation subdirs contained only a translated version
of the GNU GPL (COPYING.txt), and no translated version of any
Tux Paint documentation.
Moved them all into a COPYING/ subdir, so that now the only
translated documentation subdirs that exist are those that
containa at least _some_ translated Tux Paint documentation.
There are a ton of wishful-thinking traslation subdirs under docs/
which contain nothing but files which say "Please see..." and
directs to the English version.
Removing them, because they're just cluttering thigns,
and it makes it hard to tell whether any translations actually _do_
exist (which may require attention; e.g. revising for a new
release).
Using the SVG-based "Tux Paint" title text at the top of HTML docs
(replacing ancient, totally-mouse-drawn one from 2002).
Also, while I was in there, added big "out of date" notices,
with links to English documentation, in outdated translated ones.
Stop using old `lynx`; use `links`, and use UTF-8 codepage for
output (for Russian, Chinese, etc. to still work right).
Regenerate all TXT versions of docs available in HTML.
* Don't ignore a fscanf()'s output.
* Rewrite some increment/roll-overs to avoid, e.g.
src/im.c:1193:18: warning: operation on ‘cm.section’ may be undefined [-Wsequence-point]
cm.section = (++cm.section % SEC_TOTAL); /* Change section */
- Replace any C++ style comments (// ...) with C style (/* ... */).
- Improve calls to fgets() to avoid "ignoring return value
of ‘fscanf’, declared with attribute warn_unused_result
[-Wunused-result]" errors (WIP).
- Removed some unused, commented-out code.
The big one we've all been waiting for -- ran indent on tuxpaint.c
(which itself is ~25K lines long, and really needs to be split up).
Hopefully the code will look less atrocious now :-)
A number of assignments of grid_dims structs were of the form of
(ignoring some carriage returns, which undoubtedly added to the
confusion):
gd_controls = (grid_dims) { 3, 2 };
which confused `indent`, causing it to think certain if/else blocks
were being ended early.
Turning these into assignments, like so, to avoid this:
gd_controls.rows = 3;
gd_controls.cols = 2;