61 Commits

Author SHA1 Message Date
Jérémy Rosen
6c4a464877 rename Holy to Arcane
please proofread and double check that everything is ok
2007-04-18 21:32:50 +00:00
Eric S. Raymond
e726576f17 Upconvert wrapper logic: it can find the right files to work on now. 2007-04-18 21:21:18 +00:00
Eric S. Raymond
e2e260ff5b Start on a UMC conversion utility. 2007-04-18 20:24:26 +00:00
Eric S. Raymond
a5a11ec5d2 Typo fix. 2007-04-18 00:28:32 +00:00
Eric S. Raymond
41acfff0db Apply Wesnoth CSS to the generated reference page. 2007-04-18 00:07:13 +00:00
Eric S. Raymond
bda93ffd67 Fix some invocationss of macroscope. 2007-04-17 23:02:09 +00:00
Eric S. Raymond
364e9da699 OK, automatic documentation extraction from macros is fully working. 2007-04-17 03:31:37 +00:00
Eric S. Raymond
2848838cf5 Third step in automated documentation extraction for macros.
We're making web pages that pass XHTML validation now; 
the rest of the work is cleanup and polishing.
2007-04-17 02:34:51 +00:00
Eric S. Raymond
506b7c92eb Second stage of automatic documentation extraction for utility macros. 2007-04-16 16:43:20 +00:00
Mark de Wever
1116c5e16f Added the tool to create the unit tree in html,
as used for units.wesnoth.org (written by elricz)
2007-04-14 20:16:29 +00:00
Eric S. Raymond
7a7457d7dd Added --listfiles option. 2007-04-14 17:10:13 +00:00
Eric S. Raymond
4fda35480f Optimization step. 2007-04-14 16:42:46 +00:00
Eric S. Raymond
4915c221ae First xut at reference-checking from a definitions file. 2007-04-14 16:07:34 +00:00
Eric S. Raymond
f1ff10acab Added the capability to make definition lists. 2007-04-14 15:49:43 +00:00
Eric S. Raymond
0f9a28b24d Note the existence of implicit references through attack=. 2007-04-12 16:59:30 +00:00
Eric S. Raymond
f28009a000 Fix two minor bugs turned up by running macroscope on UMC. 2007-04-12 16:38:43 +00:00
Eric S. Raymond
848412a7f7 Cleanup. Catch bell.wav...
...up to the rest of the UI sound files, and simplify a macroscope
reporting format.
2007-04-11 15:03:46 +00:00
Eric S. Raymond
c802d749f3 Move some sounds into the UI subdirectory where they belong. 2007-04-11 11:11:02 +00:00
Eric S. Raymond
04c3ea7103 Added an --exclude option to supress looking at a subset of files. 2007-04-11 10:31:38 +00:00
Eric S. Raymond
a04b02ec98 Improve reporting of unused resources. 2007-04-11 10:00:36 +00:00
Eric S. Raymond
c4b19239fd Make macroscope able to ignore apparently unreferenced terrain files. 2007-04-11 09:52:20 +00:00
Eric S. Raymond
c210423fdf Refactoring step. 2007-04-11 08:28:37 +00:00
Eric S. Raymond
4a475cb695 Fix stupid error in cross-referencing image files from subdirectories. 2007-04-11 03:40:55 +00:00
Eric S. Raymond
cede36acc3 Typo fix. 2007-04-10 22:55:33 +00:00
Eric S. Raymond
528b7b1333 Better documentation of macroscope. 2007-04-10 22:54:10 +00:00
Eric S. Raymond
4ef45d7482 Change report format so Emacs compilation mode can be used...
...to step through unresolved symbols.
2007-04-10 05:25:19 +00:00
Eric S. Raymond
65bfe50ec2 Delete find-unused-images and find-unused-sounds.
The macroscope tool is now more than good enough to supersede them.
2007-04-09 18:23:33 +00:00
Eric S. Raymond
83b8c614e9 Fix 7 of approximately 90 unresolved-image references.
Some have FIXME comments that should be gone over by an art developer.

(Found by macroscope.)
2007-04-09 08:33:17 +00:00
Eric S. Raymond
3a200dfa8c Argument of macroscope is now optional. 2007-04-09 07:31:38 +00:00
Eric S. Raymond
c23559c3ab macroscope now handles wildcarded resource-file references. 2007-04-09 04:05:47 +00:00
Eric S. Raymond
b8165f2f9e Macroscope refactoring step. 2007-04-09 02:33:44 +00:00
Eric S. Raymond
531d865801 Macroscope's incidence of false reports of dangling references...
...for images is now low enough that information on real problems can
be extracted from the clutter.
2007-04-08 23:36:54 +00:00
Eric S. Raymond
36a962e8c8 Slightly more clever version of logic for cross-checking sound and music files. 2007-04-08 10:30:28 +00:00
Eric S. Raymond
3d26c70190 Sound crosschecks are reallly working now. 2007-04-08 09:11:02 +00:00
Eric S. Raymond
9cacb77a96 Resource validation is buggy.
Leave a temporary version that does macros only in the repo.
2007-04-08 04:14:28 +00:00
Eric S. Raymond
227c8f4d19 macroscope can now check image and sound resource reference consistency.
Some weird macros can confuse it, though.
2007-04-08 03:43:18 +00:00
Eric S. Raymond
4768190f4e A half-step towards consistency-checking resource references. 2007-04-08 03:09:50 +00:00
Eric S. Raymond
2af1b8eb19 Improve documentation, speed up processing in macroscope. 2007-04-07 23:09:56 +00:00
Eric S. Raymond
72e8eb4602 Macroscope can now process multiple directories specified on the command line,
and so can be used for UMC.

I've added a Makefile to data/tools that invokes this in several ways
useful for performing sanity checks.
2007-04-07 22:30:54 +00:00
Eric S. Raymond
80228d5536 Cleanup before next round of extensions. 2007-04-07 17:22:29 +00:00
Eric S. Raymond
a8e799793c The Perl random-map generator is both obsolete
(only does the old single-letter format) and redundant (there's a
better-maintained one in C++ now).  Furthermore nobody seems to have
cared about it since 2003.  And I'm trying to remove cruft from the
internal toolset, so away it goes.
2007-04-06 16:48:46 +00:00
Eric S. Raymond
875da2584c Add more reporting modes to macroscope. 2007-04-06 09:31:44 +00:00
Nils Kneuper
e631c3797b moved stip_image_profiles.sh into the "base" utils folder 2007-04-06 09:06:53 +00:00
Eric S. Raymond
fd8dfe70c7 Who knew macro names actually have leading underscores sometimes?
Tweak macroscope to cope.
2007-04-06 08:23:31 +00:00
Eric S. Raymond
7a7b0ca40b Improve comment handling and macro name recognition in macroscope. 2007-04-06 07:44:12 +00:00
Eric S. Raymond
86f550196e Teach macroscope not to treat macro formals as dangling references. 2007-04-06 06:39:56 +00:00
Eric S. Raymond
752d11c925 More refactoring in macroscope. References are now objects. 2007-04-06 05:42:09 +00:00
Eric S. Raymond
7c09758819 macroscope check for unresolved macro references is *mostly* working... 2007-04-06 05:14:02 +00:00
Eric S. Raymond
391dbe45ac macroscope checkpoint before teaching it to count unresolved references. 2007-04-06 04:50:37 +00:00
Eric S. Raymond
a761acd429 Macroscope gets refactored in preparation for doing more with it. 2007-04-06 03:10:35 +00:00