Elias Pschernig
29d9ad2402
Install wesnoth's python modules into a 'wesnoth' package...
...
...instead of scattering them into site-packages
2007-05-22 15:18:26 +00:00
Eric S. Raymond
835e64d9a2
wmlmove can now perform deletions from core.
2007-05-20 00:24:13 +00:00
Elias Pschernig
e3b99d558b
updated python WML parser to match _main.cfg behavior of C++ parser
2007-05-19 20:43:56 +00:00
Eric S. Raymond
d4e80ae569
wmlmove can do unit deletions in campaign directories now.
2007-05-19 20:41:08 +00:00
Eric S. Raymond
3753c14cc3
wmlmove does its first move, of the Fire Dragon to core.
2007-05-19 19:31:07 +00:00
Eric S. Raymond
e95aad4970
wmlmove is logic-complete for moves to core.
2007-05-19 19:06:12 +00:00
Eric S. Raymond
82c8e96eb6
Checkpoint for wmlmove testing.
2007-05-19 15:28:34 +00:00
Eric S. Raymond
b82c2f420f
Another step towards working wmlmove.
2007-05-17 16:48:42 +00:00
Gunter Labes
5493731de4
ignore *.pyc files
2007-05-17 00:06:47 +00:00
Eric S. Raymond
2ff0a44dbc
Image moves are working.
...
cfg move with substitution still needs to be implemented.
2007-05-16 23:13:47 +00:00
Eric S. Raymond
77d442c572
Another step towards working wmlmove.
2007-05-16 20:30:20 +00:00
Eric S. Raymond
3073bd8b8e
Some old exclusion options are no longer necessary.
2007-05-16 16:42:36 +00:00
Eric S. Raymond
650877bfab
Fix off-by-one error in wmlscope reports.
2007-05-16 14:29:12 +00:00
Eric S. Raymond
b077838e20
A long steop towards making wmlmove work.
2007-05-16 06:26:17 +00:00
Eric S. Raymond
276e7153f8
More things move to core directory.
2007-05-16 03:34:15 +00:00
Elias Pschernig
889a614d21
updated the python parser to also understand _main.cfg and _final.cfg handling
2007-05-15 16:57:52 +00:00
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