Commit Graph

220 Commits

Author SHA1 Message Date
Patrick Parker
e6d9458cd2 some minor fixes to wmlindent 2007-07-07 21:57:33 +00:00
Mark de Wever
a319f8739e Added the sync function, needs some refactoring after more testing. 2007-07-06 20:20:30 +00:00
Gunter Labes
522d27eaae add an ignore for *.pyc files 2007-07-06 15:50:10 +00:00
Nils Kneuper
c19e3c2311 added a default textdomain definition to all .cfg files 2007-07-06 09:00:49 +00:00
Mark de Wever
17f791f0e9 Added the initial WIP version of the svn python library,
needed for the wescamp connection.

The library is based on the svn command.

Also added a test program to test the various library options.
2007-07-04 19:41:10 +00:00
Eric S. Raymond
f78741dabf Switch from numeric to symbolic palette IDs everywhere.
The C++ doesn't care, it treated them as strings anyway.
2007-07-02 20:42:59 +00:00
Eric S. Raymond
c75c529de8 Don't ignore blank lines before a 'start ignoring' directive. 2007-06-29 12:19:05 +00:00
Eric S. Raymond
9433ae3fee Implement a facility to make wmlindent ignore designated stretches of lines.
Allow generation of XHTML docs from macro comments indented in the new format.
2007-06-29 11:50:33 +00:00
Eric S. Raymond
984971b0c3 Clean up properly in dryrun mode. 2007-06-29 11:08:13 +00:00
Eric S. Raymond
22efdacc73 Recognize --verbose. 2007-06-29 11:03:48 +00:00
Eric S. Raymond
93839b4ba9 Implemented --dryrun option. 2007-06-29 11:01:37 +00:00
Eric S. Raymond
ac9d9fdb76 Better verbosity logic. 2007-06-29 10:42:10 +00:00
Eric S. Raymond
2c5b884f91 Prevent spurious warnings on array references. 2007-06-29 10:05:21 +00:00
Eric S. Raymond
063655f003 Apply wmlindent to Son Of The Black Eye. 2007-06-29 09:07:44 +00:00
Eric S. Raymond
d714aff685 Enable wmlindent to detect multiple tags per line (which it can't handle)
and fix a .cfg not to have that glitch.
2007-06-29 09:02:17 +00:00
Eric S. Raymond
f032434e07 Expand away the last syntactically unbalanced macro in DiD. 2007-06-29 08:18:32 +00:00
Eric S. Raymond
6a8bcbec2a Don't touch the input file's timestamp if there are no changes. 2007-06-29 06:36:58 +00:00
Eric S. Raymond
20225e5ffc Canonicalize runs of blank lines. 2007-06-29 03:21:25 +00:00
Eric S. Raymond
397b350a75 Don't generate spurious trailing whitespace. 2007-06-29 01:56:20 +00:00
Eric S. Raymond
a49b2cc2b9 Suppress a spurious error message, hardwire the base indent of macros,
and fix a bug in the handling of multiline literals.
2007-06-29 01:43:03 +00:00
Eric S. Raymond
65cd453647 Make wmlindent able to traverse directories.
Also, have it right-strip output lines and canonicalize to Unix-style \n.
2007-06-29 01:13:00 +00:00
Eric S. Raymond
71676359f8 Fix a bonehead error in applying wmlindent to multiple arguments. 2007-06-28 21:48:19 +00:00
Elias Pschernig
b5d7fa07f8 Added -s --status -f --update options to campaigns_client.py,
and made it update local version info like Wesnoth itself.
2007-06-24 19:50:52 +00:00
Eric S. Raymond
7cf55aa99a Fix the macro-reference generator. 2007-06-23 15:38:21 +00:00
Eric S. Raymond
3df00746b2 The {dragon,thunder}stick hit and miss sounds were too much alike.
The old miss sound (with slight ricochet effect) is now an alternate
hit sound; the new miss sound is a pure ricochet effect. Somewhat
cartoonish, but that's OK.
2007-06-19 09:42:12 +00:00
Eric S. Raymond
623eb6cbf5 wmllint can now detect the syntax boucman wants to deprecate. 2007-06-17 22:31:39 +00:00
Eric S. Raymond
80be250100 Improved bogon detection in wmllint. 2007-06-16 04:54:55 +00:00
Eric S. Raymond
565b25a221 Try to make this secure in the face of interrupts.
Not completely possible under Windows, alas.
2007-06-14 20:46:54 +00:00
Eric S. Raymond
ef43328e0c Fix a typo. 2007-06-14 20:31:12 +00:00
Eric S. Raymond
191f0e1463 Rip out the -i option to prevent style wars.
Add rudimentary checks for unbalanced WML.
2007-06-14 20:23:41 +00:00
Eric S. Raymond
9688592f51 Prototype version of a WML reindenter. 2007-06-14 19:40:49 +00:00
Eric S. Raymond
32f5547ba6 Try to do some more ill-formedness detection in wmllint. 2007-06-14 19:40:10 +00:00
Eric S. Raymond
573d5d6330 Make it possible to stifle wmllint when appropriate, and document how to do it. 2007-06-14 02:35:06 +00:00
Eric S. Raymond
42ccb34324 Stack- and attribute-checking is complete. 2007-06-14 02:04:56 +00:00
Eric S. Raymond
558813e89f Clean up some macros in UtBS, improve the wmllint stack checker. 2007-06-13 18:41:31 +00:00
Eric S. Raymond
1cbf42855a First version of tag stack checking. 2007-06-13 10:08:50 +00:00
Eric S. Raymond
4d53bec8d9 Beef up the sanity-check production for campaign data. 2007-06-11 22:21:12 +00:00
Mark de Wever
e36c1421ae some typo fixes 2007-06-09 18:36:41 +00:00
Eric S. Raymond
9e8840da91 Sanity-check the themes directory, too. 2007-06-06 19:29:38 +00:00
Eric S. Raymond
63665dda58 Restore reference checking of multiplayer. 2007-06-06 19:08:03 +00:00
Elias Pschernig
d9c12066ea split utils/campaigns_client.py into a re-usable module plus a script 2007-06-02 15:35:20 +00:00
Elias Pschernig
f0d285d625 Added an explanation for the __init__.py file. 2007-05-31 19:08:13 +00:00
Elias Pschernig
48a82a6f55 Grouped the installed python scripts into a single wesnoth module...
...as to not clutter up the python lib dir too much.
2007-05-31 19:06:25 +00:00
Eric S. Raymond
d9144fb404 macroscope -> wmlscope name change. I should have caught this sooner. 2007-05-30 17:48:50 +00:00
Mark de Wever
a106067a84 on map only files the first line is no longer skipped...
...when converting the maps. esr could you review the patch, Soliton
tested it and seems to work.
2007-05-27 16:19:33 +00:00
Elias Pschernig
69e7828160 Fixed a bug in the python WML parser which I introduced a few days ago. 2007-05-22 17:36:13 +00:00
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