Commit graph

563 commits

Author SHA1 Message Date
Eric S. Raymond
770b17e98d Encapsulate some Pango markup in WHISPER and ASIDE macros...
...so these conventions can be tweaked without changing translatable
strings.
2009-03-29 22:11:52 +00:00
Eric S. Raymond
f384fe4058 Pango-enable message= attributes within [message].
This patch includes (a) switching on this feature in the C core (and
diabling grotty old Wesnoth markup in this context), (b) an upgrade to
wmllint to do most of these conversions automatically (e.g. in TRoW),
(c) hand-fixes for some unual cases (in the Tutorial), and (d) a test
of Pango <i> (in THOT).
2009-03-29 20:55:13 +00:00
Eric S. Raymond
2e8aab7de5 Validated subtags within [part] tags. 2009-03-11 16:04:30 +00:00
Eric S. Raymond
9811794d61 AI attributes "simple_targeting" and "scout_village_targeting"...
...were not spelled consistently, and the engine spelling was
wrong. Fix this, by teaching wmllint to fix it.  The wiki will be
updated simultaneously with this commit,
2009-03-08 16:08:54 +00:00
Ignacio R. Morelle
b7b6ae706f Forgot to mention the titlescreen/landscapebattlefield.jpg ->
...story/landscape-battlefield.jpg step in the changelog and Rel. Notes
entries, and in wmllint's code.

Thanks Ivanovic for spotting this.
2009-02-21 19:16:52 +00:00
Ignacio R. Morelle
39abdc314b Per Kitty's and Dave's request, the Great Continent (central) map...
...is now the only titlescreen background again.

The old titlescreen files were moved into story/ and renamed as well;
wmllint has been updated to update existing content due to these
changes. Fixed mainline WML referencing those files, and added a release
note along with a quiet changelog entry.
2009-02-21 19:04:12 +00:00
Eric S. Raymond
1248d14605 Address bug #13007.
Ordinarily I'd be worried about the risk of UMC breakage from renaming
macros, but one of these was broken for a long time until recently so
we're probably not increasing any lossage here.
2009-02-21 12:47:05 +00:00
Ignacio R. Morelle
61bfcbd668 ESR did not take nagini-fighter.png into account for renaming it to
fighter+female.png. Fixing this.

* Rename image file.

* Fix wmllint rule.

* Fix relevant mainline references.
2009-02-01 13:50:38 +00:00
Ignacio R. Morelle
de25875708 ESR did not take dwarf-guard.png into account for renaming it...
...to dwarf.png. Fixing this.

* Rename image file (only the non-transparent portrait needed it).

* Fix wmllint rule.

* Fix relevant mainline references.
2009-02-01 13:44:57 +00:00
Eric S. Raymond
67fee66ac3 Second part of portrait directory renaming.
All mainline references are fixed, and wmllint knows what to do.
2009-02-01 06:14:17 +00:00
Eric S. Raymond
718cbdfa78 thespaceinvader's big portrait rationalization. 2009-01-31 00:15:02 +00:00
Eric S. Raymond
4f06d7754e WML renaming tweak at ShadowMaster's request. 2009-01-11 23:17:28 +00:00
Eric S. Raymond
ebf04baced Detect invalid boolean values for "heals" terrain attribute. 2008-12-18 12:08:08 +00:00
Eric S. Raymond
2eb717fe87 Correct a minor wmllint error. 2008-12-12 20:46:32 +00:00
Eric S. Raymond
61c1610118 Add two more spelling exceptions. 2008-12-08 16:51:43 +00:00
Eric S. Raymond
63a48bfeb7 Shut wmllint up about a place qhere it shouldn't be complaining. 2008-12-07 22:42:17 +00:00
Eric S. Raymond
346f37d8e8 Teach wmllint to fix a common WML typo, "agression" for "aggression". 2008-11-27 02:47:59 +00:00
Eric S. Raymond
bf063e25f6 wmllint checking of recruitment patterns is complete. 2008-11-27 02:32:17 +00:00
Eric S. Raymond
46ca08eb38 Fix more recruitment-pattern glitches. 2008-11-26 19:08:51 +00:00
Eric S. Raymond
17ca42faab Avoid spurious reports when a recruitment pattern is macroexpanded. 2008-11-26 18:09:25 +00:00
Eric S. Raymond
19fb96dbbf Yet more recruitment-pattern checking. 2008-11-26 17:11:00 +00:00
Eric S. Raymond
c570337316 A round of fixes for recruitment-pattern mismatches. 2008-11-26 15:37:38 +00:00
Eric S. Raymond
2a46a3b031 More recruit-list checking. 2008-11-26 14:36:08 +00:00
Eric S. Raymond
b470e4d433 First step towards better recruit-list checking. 2008-11-26 13:46:08 +00:00
Eric S. Raymond
0f8fdab37c Spellcheck user team names. Correct some glitches this detects. 2008-11-25 16:34:07 +00:00
Eric S. Raymond
534fc5dc1c Tweak a bit more of wmllint to use WmlIterator. 2008-11-24 21:44:55 +00:00
Eric S. Raymond
a71ec1bf64 Restore Nym's skirmisher ability. 2008-11-24 03:26:35 +00:00
Patrick Parker
e91062abff be a little smarter about newlines in messages 2008-11-23 01:43:15 +00:00
Eric S. Raymond
aa6e7629e0 wmllint double-quotes IDs containing single-quote.
This diff also fixes two comments where the lift code was 
a bit overzealous.  No real harm done, fortunately.
2008-11-10 12:03:47 +00:00
Eric S. Raymond
434d0bcf28 Systematically doublequote enclose IDs containing single quotes.
This avoids confusing wesnoth-mode.el.
2008-11-10 11:25:55 +00:00
Eric S. Raymond
c3211b57ff Minor wmllint enhancements to handle TDH. 2008-11-10 03:27:05 +00:00
Eric S. Raymond
f72622c4ea Refactor to use WmlIterator more. 2008-11-07 14:08:52 +00:00
Eric S. Raymond
1e6a01c9d4 Fix a bug in error reporting. 2008-11-07 03:09:25 +00:00
Eric S. Raymond
90e8b6e052 Passing an error reoter hook into WmlIterator was dumb.
This sort of thing is what subclassing is for.
2008-11-06 23:45:59 +00:00
Eric S. Raymond
7800a69318 Start using WmlIterator more systematically. 2008-11-06 23:28:24 +00:00
Eric S. Raymond
df828afeec Teach wmllint to do the safe part of the music namespace changes,
...and document what has already been done.
2008-11-05 22:07:11 +00:00
Eric S. Raymond
10340ccbf5 Fix incomplete error-hook conversion. 2008-11-05 11:46:27 +00:00
Alexander van Gessel
0720bce8ec Pass the error handler to both invocations of WmlIterator. 2008-11-05 12:26:31 +01:00
Alexander van Gessel
7566a3163b Make wmllint's spellcheck somewhat compatible with python-enchant 1.3.1. 2008-11-05 11:48:52 +01:00
Eric S. Raymond
7a4f530069 Document some thinking. 2008-11-05 08:07:41 +00:00
Eric S. Raymond
a01fd55508 Further extend spellchecking.
Drop an equivalent of Sapient's error-reporting code back in
wmliterator.py, but do the actual reporting through a callback passed
at instance-nitialization time.
2008-11-05 08:04:54 +00:00
Eric S. Raymond
a3591151c2 Further extend spellchecking. 2008-11-05 03:38:10 +00:00
Eric S. Raymond
1d1e5343cc Extend the range of WML attributes that get spellchecked,
...and fix a glitch that turned up.
2008-11-05 02:45:03 +00:00
Eric S. Raymond
92fa8298c8 Correct some documentation. 2008-11-04 12:59:52 +00:00
Eric S. Raymond
39553800ce Sff a check for incorrect sentence-ending punctuation. 2008-11-04 12:46:05 +00:00
Eric S. Raymond
1afb992b06 Tighten up spellchecking yet again. 2008-11-04 00:05:29 +00:00
Eric S. Raymond
950897fb10 Tighten up the spekll-checking, and catch some more glitches. 2008-11-03 22:38:07 +00:00
Eric S. Raymond
7571ffb728 Tighten up the implementation of spell-checking a bit,
...and fix some edge cases it catches.  Also, implement a method to
check ancestor scomes in WmlIterator (not yet used).
2008-11-03 19:47:46 +00:00
Eric S. Raymond
f8d75639b9 Remove an unneeded stripping operation. 2008-11-03 08:37:37 +00:00
Eric S. Raymond
9352e992fc Correct handling of exceptional cases involving legitimate spellings...
...ending in single quote.
2008-11-03 08:32:35 +00:00