158 Commits

Author SHA1 Message Date
Eric S. Raymond
75b7510973 The move of tutorial/ inro data/campaigns...
...enables us to get rid of a special case.
2007-05-11 14:45:16 +00:00
Eric S. Raymond
d95532a390 Moved the tutorial into the campaigns directory. 2007-05-11 12:44:27 +00:00
Eric S. Raymond
8f24cdfd76 Remove unused graphic, fix a comment. 2007-05-11 04:03:35 +00:00
Eric S. Raymond
aef5a429d3 Typo fix. 2007-05-11 02:32:08 +00:00
Eric S. Raymond
97993ac4c8 Cosmetic fixes. 2007-05-11 02:21:31 +00:00
Eric S. Raymond
058e97a053 Refactoring step. 2007-05-11 02:12:54 +00:00
Eric S. Raymond
a390eb9951 Initial checkin of wmlmove. This tool is not yet finished. 2007-05-11 01:55:45 +00:00
Eric S. Raymond
7fd5818451 Call wmlscope, not macroscope. 2007-05-10 21:08:42 +00:00
Eric S. Raymond
4c71177e34 Two name changes:
macroscope -> wmlscope
upconvert -> wmllint

This is to keep the names of our tools, insofar as possible,
within a wml* private namespace.
2007-05-10 21:01:22 +00:00
Eric S. Raymond
62fd356284 Cosmetic fix. 2007-05-10 12:00:54 +00:00
Eric S. Raymond
a78e29de14 Convert 'letter=' tags. 2007-05-08 11:26:41 +00:00
Eric S. Raymond
9112b99390 Ku needs to be mapped to Kud in upconvert. 2007-05-07 22:25:32 +00:00
Eric S. Raymond
068f9a7a64 Somehow I neglected to check this in earlier. 2007-05-07 15:33:50 +00:00
Eric S. Raymond
a3d35d0149 Move allefant's Python-based modules where they belong. 2007-05-07 14:27:02 +00:00
Eric S. Raymond
566d56938e Factor the macroscope cross-reference generator into a re-usable module...
...and a wrapper, because other tools will need the cross-referencer.  

Note to packagers: 'make install' now puts wmltools.py in the Python directory
for site-local packages.  If you build a Wesnoth development package, include
this.  But the main Wesnoth package for players can leave it out.
2007-05-07 14:18:20 +00:00
Eric S. Raymond
764326dec6 Restore a mislaid reporting line. 2007-05-05 13:52:26 +00:00
Eric S. Raymond
043a7a4130 Get rid of lame directory-abstraction macros.
Directory structure is exposed elsewhere, so all these really do is
make life difficult for sanity-checking tools.
2007-05-05 13:28:48 +00:00
Eric S. Raymond
8df27ff9e6 Check line ranges on local macros. 2007-05-04 10:49:36 +00:00
Eric S. Raymond
b5765d123e Now that maps have their own extension,
...macroscope can sanity-check reference to them just like any other
resource file type.
2007-05-04 10:24:48 +00:00
Eric S. Raymond
82f0c80ea9 Bug fix. 2007-05-04 02:15:49 +00:00
Eric S. Raymond
eada46e2b5 upconvert now creates .map extensions when appropriate. 2007-05-04 01:53:56 +00:00
Eric S. Raymond
34407f924b Enable upconvert to handle one-line maps. 2007-05-03 20:24:51 +00:00
Eric S. Raymond
e7e1e05f88 Fix some minor bugs in error handling. 2007-05-03 19:29:52 +00:00
Eric S. Raymond
e1bfd44dc1 Avoid a suffix-aliasing problem. 2007-05-03 18:05:53 +00:00
Eric S. Raymond
cfb1210e1b Better autodetection of terrain coding. 2007-05-03 16:22:49 +00:00
Eric S. Raymond
e752b73b66 Don't be fooled by terrain= in comments. 2007-05-03 15:35:42 +00:00
Eric S. Raymond
f57607ded4 Make sure we get line termination right. 2007-05-03 15:05:48 +00:00
Eric S. Raymond
c54e76adad Large refactoring to handle keep conversions better. 2007-05-03 11:05:28 +00:00
Eric S. Raymond
1acda064cf Fix a regexp bug that was preventing proper map translation. 2007-05-03 07:56:47 +00:00
Eric S. Raymond
f5c2c236f6 Arrange for both map transformations to be done on a 1.2.x map,
and simplify some code.
2007-05-03 07:42:47 +00:00
Eric S. Raymond
f410430429 Refactoring step. 2007-05-03 07:21:46 +00:00
Eric S. Raymond
d4c8727598 Some conversions discovered while lifting SotBE. 2007-05-02 13:06:20 +00:00
Eric S. Raymond
b57927e70b Speed up upconvert's keep handling slightly. 2007-05-01 23:24:29 +00:00
Eric S. Raymond
6fd811f6cb Fix a bug reported by Noyga. 2007-05-01 15:59:39 +00:00
Eric S. Raymond
e93bb09274 This should have been flushed days ago. The upconvert script obsoletes it. 2007-05-01 12:57:18 +00:00
Eric S. Raymond
07b2e0e778 More resource translations. 2007-05-01 07:54:27 +00:00
Eric S. Raymond
fd2534225c Handle the holy->arcane change. 2007-04-30 15:23:54 +00:00
Eric S. Raymond
987e8eba20 upconvert now handles terrain=, terrain_liked=, and valid_terrain. 2007-04-30 09:04:11 +00:00
Eric S. Raymond
ed206aa128 upconvert now translates terrain_likes clauses. 2007-04-29 21:56:57 +00:00
Mark de Wever
8fa90b7500 updated the unit tree generation files 2007-04-29 17:01:33 +00:00
Eric S. Raymond
7a25a476bd Fix some documentation comments. 2007-04-29 13:13:21 +00:00
Eric S. Raymond
96a1f8c597 Reveal the candidates when macroscope has a name collision. 2007-04-29 12:29:21 +00:00
Eric S. Raymond
c64898235a New macroscope visibility rules are now working for resource files. 2007-04-29 11:15:05 +00:00
Eric S. Raymond
00fd700a48 Minor refactoring step. 2007-04-29 04:25:44 +00:00
Eric S. Raymond
8a48889b2e Prepare for sytematic checking of UMC with new visibility rules. 2007-04-29 03:05:33 +00:00
Eric S. Raymond
685965c5f1 Move macroscope's visibility rules for files and resources...
...much closer to the WML interpreters.  Macro definitions are now
visible only in other files under the same directory they were found
in. Resource files have to be done next.
2007-04-29 03:00:45 +00:00
Eric S. Raymond
bb4c74ec1c Refactored macroscope to use iterators.
This will enable better visibility checking.
2007-04-28 23:25:00 +00:00
Eric S. Raymond
a3dc1b12db Cope with unbalanced #undef statements. 2007-04-28 11:37:03 +00:00
Eric S. Raymond
d1ba962b74 Macroscope now takes multiple directory arguments. 2007-04-28 05:06:08 +00:00
Eric S. Raymond
234ddfe2d9 Macroscope can now handle multiple definitions of macros gracefully,
as long as all but one is local (e.g. scope is terminated by an #undef)
2007-04-27 21:57:30 +00:00