752 Commits

Author SHA1 Message Date
Eric S. Raymond
b7d1531b89 Clarify some history. 2008-09-04 18:26:59 +00:00
Eric S. Raymond
2d07184bc9 Since we can rely on map files to have a .map extension now,
...simplify a test a bit and remove an explicit list of exception
extensions.
2008-09-04 18:17:24 +00:00
Eric S. Raymond
4e09e5e06a Check unit-type derivations. 2008-09-04 17:30:48 +00:00
Eric S. Raymond
ccbc77ad6b Add much more rigorous consistency checking...
...of recruitment lists and patterns.
2008-09-04 10:30:36 +00:00
Eric S. Raymond
319492634b Simplify some code, reflecting 1.4 conventions. 2008-09-04 08:04:51 +00:00
Eric S. Raymond
8ac759098c Remove some dead code. 2008-09-04 08:03:08 +00:00
Eric S. Raymond
bdbf60838a Address bug #12269 by making Ratheln's appearance trigger...
...any time the dwarves get through the midpoint of the pass and
making his survival a requirement for this scenario only.

In the process, introduce a REMOVE_HERO_ICON macro to the standard library.
I have tweaked Liberty to use it.
2008-09-03 00:34:46 +00:00
Eric S. Raymond
011cbdf919 Minor cleanup. 2008-09-02 17:54:41 +00:00
Eric S. Raymond
6326aa4ec4 Typo fix. 2008-09-02 16:01:10 +00:00
Eric S. Raymond
339599149f Another try at fixing AI0867's bug. 2008-09-02 15:56:21 +00:00
Eric S. Raymond
881e5e3ff6 Fix a bug reported by AI0867. 2008-09-02 15:50:24 +00:00
Eric S. Raymond
6d417ce2f5 Address bug #12259. 2008-09-02 00:32:16 +00:00
Eric S. Raymond
cb33e98e29 Remove upconvert switch, it's no longer needed. 2008-09-02 00:30:42 +00:00
Eric S. Raymond
c927cdc6e3 Preevent wmlindent from being confused by Shadowmaster's terminal frowney.
(Yes, this is a real description of a real bug...)
2008-08-30 07:34:57 +00:00
Gunter Labes
a801626793 update wmlunits to the new advances_to syntax 2008-08-29 21:30:39 +00:00
Eric S. Raymond
aac6a79a04 Restore a 1.5 conversion I shouldn't have dropped. 2008-08-29 19:27:10 +00:00
Eric S. Raymond
fec0ec9d71 advancesto -> advances_to. 2008-08-29 19:03:00 +00:00
Eric S. Raymond
c900eff1fa The --oldversion switch is dead. 2008-08-29 18:57:03 +00:00
Eric S. Raymond
d0fb2d0461 This change removes lifting logic for pre-1.4 versions.
If you need it, check out a copy of wmllint from the 1.4 stable
branch and use that to lift before running this one.

I did this for a policy reason; I wanted to kill off the --oldversion
switch.  It will *not* be restored; in future, changes to WML syntax
*must* be forward compatible in such a way that tags from old versions
can be unambiguously recognized (this will save everybody heartburn).

As a virtuous side effect, this featurectomy cuts wmllint's code
complexity by over 50%, improves performance by about 33%, and
banishes some annoying behaviors related to the 1.2 map-conversion
code.
2008-08-29 18:27:37 +00:00
Eric S. Raymond
effe5298b9 Typo fix. 2008-08-29 17:30:04 +00:00
Eric S. Raymond
3465bf7a99 Comment typo fix. 2008-08-29 17:02:32 +00:00
Eric S. Raymond
a53745e104 Ignore .git directories in wmllint as well. 2008-08-29 02:03:51 +00:00
Eric S. Raymond
4a5ecd48b5 Ignore .git as well as .svn directories when assembling forests. 2008-08-29 01:47:09 +00:00
Eric S. Raymond
b31c324728 Fulfil the rest of bug #12180. Reindent appropriately. 2008-08-28 23:07:44 +00:00
Eric S. Raymond
08f09eda6f Give wmlindent a capability to declare indenters.
Pre-declare {FOREACH and {NEXT.

Write declarations in the one place they're presently needed, Sceptre of Fire.

Reindent the data tree accordingly.

This partly addresses the feature request in bug #12180.
2008-08-28 20:19:50 +00:00
Eric S. Raymond
318486ce4b Reindent most of the data tree in preparation for making wmlindent smarter. 2008-08-28 17:57:00 +00:00
Elias Pschernig
28801b118a Removed debug code I left in wesnoth_addon_manager before. 2008-08-28 17:44:34 +00:00
Elias Pschernig
35aa9ff484 Adjusted campaignserver_client.py for upstream fix of random 0 bytes.
Don't stop downloading on addons which contain files without any contents.
2008-08-28 17:24:02 +00:00
Elias Pschernig
672ec5cf16 Worked around a bug where the addon server sometimes sends...
...extra 0 bytes, so wesnoth_addon_manager works a bit better
now. (still no upload)
2008-08-27 19:02:37 +00:00
Ignacio R. Morelle
ac3df3bd02 Apply patch #1081 2008-08-26 23:16:40 +00:00
Gunter Labes
b049dc3458 typo fix 2008-08-26 14:43:39 +00:00
Elias Pschernig
dcc4b22d46 Attempted to fix bug #12205...
...un-escaping wasn't properly done in wesnoth_addon_manager. I can't
test if downloading campaigns works now or not, but it
might. Uploading is still broken, will look into that later.
2008-08-22 15:39:13 +00:00
Eric S. Raymond
3870c6efd7 Address FR #11528. 2008-08-18 23:55:40 +00:00
Nils Kneuper
53744a76bd some comments regarding tthe problems with pasting current about data...
...in the wiki
2008-08-16 11:23:51 +00:00
Mark de Wever
121120633b Fix the usage description. 2008-08-16 10:59:53 +00:00
Eric S. Raymond
7e24bcbeea Address bug #12091. 2008-08-14 11:32:25 +00:00
Nils Kneuper
62a11d4754 made the default location of the add-on server add-ons.wesnoth.org...
...instead of campaigns.wesnoth.org it will point to the same machine,
just make it clear that there is more than only campaigns on the
machine
2008-08-13 14:54:07 +00:00
Eric S. Raymond
87f215083c A pass at fixing wmllint warnings. Not all are disposed of yet. 2008-08-13 14:07:30 +00:00
Ignacio R. Morelle
74cb75704e More addon management system refactoring and bugfixing of previous commits
* Addon metainfo is now saved in file _info.cfg instead of info.cfg.

* Added _info.cfg to default upload exclusion list.

* Updated addons management script to be aware of the info.cfg change.
2008-07-31 00:13:03 +00:00
Piotr Cychowski
748220eff8 Commit patch #1076 2008-06-29 16:52:29 +00:00
Greg Copeland
000f696fbf Various changes to support gzip/zlib compression are now in place.
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.

Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
2008-06-23 14:09:33 +00:00
Patrick Parker
caa60dbd03 added file comments 2008-06-23 03:14:18 +00:00
Pauli Nieminen
b59aa1b858 Made replacing \r\n and \t optional 2008-06-20 16:35:29 +00:00
Greg Copeland
24871184ba Fixed missing reference to self.verbose and added missing reference to self. 2008-06-20 15:41:26 +00:00
Pauli Nieminen
f081033ef5 Fixed typo 2008-06-20 15:33:17 +00:00
Pauli Nieminen
86dff9d764 Added support to wmlparser for ignoring macros inside string 2008-06-20 15:31:27 +00:00
Pauli Nieminen
86e102a06a Fixed tabs to spaces 2008-06-20 14:26:52 +00:00
Pauli Nieminen
2ce51639da Fixed wml parser to read escaped strings 2008-06-20 14:19:16 +00:00
Nils Kneuper
bfaae1cee6 another fix needed for the move from gl_ES to gl 2008-06-20 11:06:53 +00:00
Sergey Popov
d7047db442 Apply patch #1072. 2008-06-17 15:37:37 +00:00