[Commits] [wesnoth/wesnoth] f55ab1: wmllint: split introduction into labeled sections ...
GitHub
noreply at github.com
Fri Aug 1 10:14:56 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f55ab17ea770baca418434f09c0a07306c8480cd
https://github.com/wesnoth/wesnoth/commit/f55ab17ea770baca418434f09c0a07306c8480cd
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M data/tools/wmllint
Log Message:
-----------
wmllint: split introduction into labeled sections for clarity
Also, the top paragraphs, aimed at the core developers, have been moved to
the bottom, to get to the information key to general users.
Commit: 3d11b84611a3df3e7d6bae0a83462ab23403b78d
https://github.com/wesnoth/wesnoth/commit/3d11b84611a3df3e7d6bae0a83462ab23403b78d
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M data/tools/wmlscope
Log Message:
-----------
wmlscope: import glob for Windows shell
The Windows cmd shell will not expand a globbed argument by default, in
fact it will make the argument invalid. Importing and utilizing the glob
module is needed for x-platform.
Globbing is especially important for breaking up the subtree, so wmlscope
doesn't give off "more than one resource/definition is visible here"
errors.
Commit: 2d864b5eff318f0353b11574bebae2333eff4409
https://github.com/wesnoth/wesnoth/commit/2d864b5eff318f0353b11574bebae2333eff4409
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M data/tools/wesnoth/wmltools.py
Log Message:
-----------
wmltools: cite define locations when "more than one definition" is visible
When "more than one resource" is visible, wmlscope tells you where they
are. Now it will do the same for macro definitions.
Commit: 6adc90bcf349bffbb5a54ff54a21a6b34edddb6e
https://github.com/wesnoth/wesnoth/commit/6adc90bcf349bffbb5a54ff54a21a6b34edddb6e
Author: Groggy Dice <groggydice at yahoo.com>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M data/tools/wesnoth/wmltools.py
Log Message:
-----------
wmltools: fix wmlscope crash in collection of unresolved macro calls
While testing wmlscope without including data/core, which guarantees lots
of "unresolved" references, I got a crash pointing to this line with the
traceback: "NameError: global name 'args' is not defined".
At first, I thought the crash might have been caused by my splitting out
parse_macroref into its own function, several months ago. However, the
line is at the wrong indentation level for those "args" to be the variable
referenced here. So what "args" might have been intended?
After tracking down the commit that added "args=args" to this line, I've
concluded that this was simply a mistake. ESR isn't around to ask anymore,
but if a macro was never defined, or is not called correctly, what "args"
could be relevant?
Compare: https://github.com/wesnoth/wesnoth/compare/230c45f3db0a...6adc90bcf349
More information about the Commits
mailing list