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
Eric S. Raymond
979264e084
Add some documentation.
2007-04-27 21:37:29 +00:00
Eric S. Raymond
2244511853
Fix the code for extracting the macro reference.
2007-04-27 14:22:55 +00:00
Eric S. Raymond
69e98dc8ca
Move report header before parsing...
...
...so messages to stderr happen in the right order.
2007-04-27 11:01:38 +00:00
Eric S. Raymond
5f3b1fd333
Avoid an odd glitch that causes some false messages abot duplicates.
2007-04-27 04:43:09 +00:00
Eric S. Raymond
aa9dab7f6e
Avoid a name collision between two lich portraits that are tinted differently.
2007-04-27 04:02:04 +00:00
Eric S. Raymond
bc010743f6
And more documentation.
2007-04-26 21:29:30 +00:00
Eric S. Raymond
2add57a040
Add some documentation.
2007-04-26 21:28:02 +00:00
Eric S. Raymond
b9c08ea5d0
Warn of duplicated reference names.
2007-04-26 19:14:46 +00:00
Eric S. Raymond
ecebe4f1cf
More incremental improvements. More UMC resource conversions.
2007-04-26 13:46:09 +00:00
Eric S. Raymond
ae131e8450
Fix a brown-paper-bag bug introduced two commits back.
2007-04-26 12:22:55 +00:00
Eric S. Raymond
8a2885abc8
Don't crap out on the ill-formed Rogue_RPG map.
2007-04-26 11:26:21 +00:00
Eric S. Raymond
6afa7e61bb
Better handling of one-line maps.
2007-04-26 10:25:28 +00:00
Eric S. Raymond
ba9b7e48e4
Handle ill-formed one-line maps more gracefully.
2007-04-26 10:15:12 +00:00
Eric S. Raymond
07fd01f3cd
More incremental improvements to macroscope and upconvert.
2007-04-26 08:55:47 +00:00
Eric S. Raymond
4270406a95
Help the duplicate-checking in macroscope cope with some wacky UMC.
2007-04-26 05:16:10 +00:00
Eric S. Raymond
cca726bd96
Give macroscope the ability to detect duplicate resource files.
2007-04-26 03:41:11 +00:00
Eric S. Raymond
4ef2a83572
Don't issue a warning om duplicated but identical maacro definitions.
...
-w 1 can be used to force warning on duplicates.
2007-04-26 02:47:20 +00:00
Eric S. Raymond
0031d37b42
Macroscope needs to be able to see filenames with leading dots.
2007-04-26 01:38:11 +00:00
Eric S. Raymond
bf41f5e59c
Small cleanup change.
2007-04-25 14:34:13 +00:00
Eric S. Raymond
a81c17e4bf
Last-minute pre-1.3.2 filename mappings.
2007-04-25 14:27:55 +00:00
Eric S. Raymond
b1a6452c62
Working on resolving as many UMC references as possible.
2007-04-25 13:33:53 +00:00
Eric S. Raymond
a67d072c85
Incremenrtal improvements for macroscope and upconvert.
2007-04-25 11:37:55 +00:00
Eric S. Raymond
a35307ddfe
Ignore backup files in macroscope and upconvert.
2007-04-25 10:31:16 +00:00
Eric S. Raymond
c997de74b4
Fix the 1.3.1 conversion bug.
2007-04-25 00:53:31 +00:00
Eric S. Raymond
768f4aaa6e
Add the --diffs option, improve the logic for the 1.3.1 upgrade.
2007-04-24 23:26:21 +00:00
Eric S. Raymond
de6bc1324b
Add a caveat.
2007-04-24 17:49:29 +00:00
Eric S. Raymond
2d0cbe8fb9
upconvert is fully working for 1.2.x -> 1.3.x conversions,
...
so the old Perl version and the regression test script can go away.
2007-04-24 17:24:13 +00:00
Eric S. Raymond
4f3589c25c
1.2.x -> 1.3.1 logic has been successfully folded into upconvert.
2007-04-24 17:18:39 +00:00
Eric S. Raymond
56d76d4c84
Make upconvert use the more generic machinery developed for mapconvert.py.
2007-04-24 16:41:47 +00:00
Eric S. Raymond
824495cfb2
More refactoring.
...
This version of map_convert.py continues to pass all its regression
tests with the Perl version.
2007-04-24 15:58:27 +00:00
Eric S. Raymond
2449540492
Another refactoring step.
2007-04-24 15:06:34 +00:00
Eric S. Raymond
8ce3bf6a62
Refactor the Python mapconvert.py...
...
...so the file-parsing logic is separated from the line
transformations.
2007-04-24 14:35:45 +00:00
Eric S. Raymond
ee647b3580
Bring the terrain conversion table inboard in the Python version.
...
It's final for 1.3.2, and the old-style single-letter codes are
scheduled to be removed from terrain.cfg when the backwards-compatibility
code is dropped.
2007-04-24 13:45:59 +00:00
Eric S. Raymond
d5f40ca58a
Python version of mapconvert now passes regression...
...
...on every UMC file that the Perl version doesn't barf on.
2007-04-24 13:26:07 +00:00