18358 Commits

Author SHA1 Message Date
Groggy Dice
21c50ccb2e create magic comment for persistent macro character recognition, "wmllint: who"
The "recognize" magic comment only covers one scenario; but what about macros that are used in many scenarios?

This new magic comment creates dictionary pairs of macros with the characters they are associated with. If this is not yet clear, hopefully the following commits will show the full picture.
2013-08-15 01:21:14 -04:00
Andrius Štikonas
a23f2ed0e4 Reduce the size of Galician images by 90%. 2013-08-14 21:08:55 +03:00
Andrius Štikonas
fd32960043 [Lithuanian Translation] Updated map localization of AoI and HttT. 2013-08-14 20:36:03 +03:00
Charles Dang
7454353459 Fixed image path of last frame in Elvish Outrider ranged anim (pointed out by bumbadadabum) 2013-08-14 00:57:48 +11:00
Charles Dang
c6655fdecc Fixed paths to stonebridge and tropical forest icons in their respective help topics 2013-08-13 14:11:20 +11:00
Adrián Chaves Fernández (Gallaecio)
ce77900176 Removed a trailing parenthesis at the end of a string that made no sense there. 2013-08-12 22:10:13 +02:00
Adrián Chaves Fernández (Gallaecio)
10d25c56c0 [Galician Translation] Updated map localization of “An Orcish Incursion”. 2013-08-12 07:24:44 +02:00
ln-zookeeper
9111ed02b5 New bigmap and journey markers for AOI. 2013-08-11 15:53:36 +03:00
ln-zookeeper
c45d3dc9be Merge branch 'master' of https://github.com/wesnoth/wesnoth-old 2013-08-11 11:48:50 +03:00
Adrián Chaves Fernández (Gallaecio)
9eeaaff752 [Galician translation] Translated images and minor text changes 2013-08-10 19:23:49 +02:00
Alexander van Gessel
abe67d8136 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-09 00:20:02 +02:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956e6316f8b50a6accba607f66cf197a7.
2013-08-09 00:13:46 +02:00
Thibault Févry
e825989bbe More range() genocide. 2013-08-09 00:13:03 +02:00
Thibault Févry
1dc00f0d93 More range() destruction. 2013-08-08 23:53:34 +02:00
Thibault Févry
e4a1dcdb88 More range to xrange conversion. 2013-08-08 23:46:36 +02:00
Thibault Févry
961dcb8c25 Remove useless ';' 2013-08-08 23:45:52 +02:00
Thibault Févry
b5319fa235 Use xrange instead of range. 2013-08-08 23:41:50 +02:00
Thibault Févry
e3fbfe5225 Use for i in iterable instead of for i in range(len(iterable)). Have a hard time testing it well, but it seems to not break anything. 2013-08-08 23:35:11 +02:00
Thibault Févry
5a5287b1f7 Use string formatting when possible. Can't use str.format() (although it would be easier to read since it was only added in 2.6 2013-08-08 19:21:39 +02:00
Thibault Févry
f4fc1c5912 Make pep8 happier. 2013-08-08 19:07:47 +02:00
Thibault Févry
65a14eff16 Fix indenting (again) 2013-08-08 18:56:11 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c034110c3c942d299c8fd440297c89aca037, reversing
changes made to 06374c64ba00977a4f720a44108593fc43d5c787.
2013-08-08 18:50:46 +02:00
Thibault Févry
ddfc7d3282 Revert "Fix indenting."
This reverts commit ab58cc959c54461430868f31f2625c91501518ea.
2013-08-08 18:48:45 +02:00
Thibault Févry
ab58cc959c Fix indenting. 2013-08-08 18:31:47 +02:00
Thibault Févry
5fa5c03411 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-08 13:18:10 +02:00
Adrián Chaves Fernández (Gallaecio)
97d9918419 “But if if this battle…” → “But if this battle…” 2013-08-07 21:33:58 +02:00
Alexander van Gessel
08d1c949f1 wmlindent workarounds for some micro_ai scenarios 2013-08-05 00:15:58 +02:00
Alexander van Gessel
0738a4e59c make reindent minus some wmlindent issues 2013-08-04 23:22:56 +02:00
Alexander van Gessel
41a4ea849e Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-04 22:58:45 +02:00
Alexander van Gessel
a678898f4c Move from optparse to argparse 2013-08-04 22:58:19 +02:00
Alexander van Gessel
2a13cfd439 Move from optparse to argparse 2013-08-04 22:54:59 +02:00
Alexander van Gessel
a89e9c4329 Move from optparse to argparse 2013-08-04 22:53:16 +02:00
Alexander van Gessel
c50aaf8025 Move from optparse to argparse 2013-08-04 22:51:18 +02:00
Alexander van Gessel
83f234f4be Move from optparse to argparse 2013-08-04 22:48:01 +02:00
Alexander van Gessel
2148f769f4 Move from optparse to argparse 2013-08-04 22:45:21 +02:00
Alexander van Gessel
b6f3f8fe35 Move from optparse to argparse 2013-08-04 22:44:15 +02:00
Richard Kettering
7337460218 New icons for a silver key, and gold ring. 2013-08-04 01:58:04 -05:00
Alexander van Gessel
8f9861ef5e Some python syntax updates for the WML tools 2013-08-04 03:32:23 +02:00
Alexander van Gessel
f3a8d04db2 Quote the commit message when referring to it 2013-08-03 00:51:05 +02:00
Alexander van Gessel
0cae8c8a35 Reindent animation-utils.cfg 2013-08-03 00:51:04 +02:00
Alexander van Gessel
1129ca1c53 Reindent teleport-utils.cfg 2013-08-03 00:51:04 +02:00
Groggy Dice
9903fd227e fix <title> to only display branch directory
OK, so it turns out basename() was required after all!
2013-07-31 05:12:30 -04:00
Groggy Dice
5b45cccc79 make image_reference match jpeg as well as jpg extension 2013-07-31 01:36:09 -04:00
Groggy Dice
09073d3ff5 add a <title> to UMC listing pages
As I read it, basename() should not be required for path, and I've tested this locally.
2013-07-31 01:32:26 -04:00
Groggy Dice
a4ded295ba split my long stderr message, displaying details only if called by raw_input
Rather than overwhelming users with verbiage, I will hide most of my explanation unless it's asked for. My message is still not particularly brief, but it's no longer insanely long.
2013-07-31 00:13:17 -04:00
anonymissimus
4bf2a5c94c wmllint: revert part of commit 61648041284627e299ddf26bc601009520c5198e
groggy: The ifdef_stack = [None] assignment made wmllint crash upon nested
#if blocks. The following block of wml should suffice to let it crash. The
inner #endif deletes the data about encountered #ifs.

...
#ifver WESNOTH_VERSION >= 1.11.0
#ifhave ~add-ons/UMC_Music_Book_1/_main.cfg
[binary_path]
	path=data/add-ons/UMC_Music_Book_1
[/binary_path]
#endif
#else
#ifhave ~add-ons/UMC_Music/_main.cfg
[binary_path]
	path=data/add-ons/UMC_Music
[/binary_path]
#endif
#endif
...
2013-07-29 12:25:30 +02:00
Elvish_Hunter
3eb9299bd2 wmllint: added rule to manage recent changes to nozoc and leader ellipses 2013-07-27 17:11:39 +02:00
Alexander van Gessel
d394f27afb Some python syntax updates for the WML tools 2013-07-26 15:38:05 +02:00
Alexander van Gessel
7d9cae09be Some python syntax updates for the WML tools 2013-07-26 15:38:05 +02:00
Groggy Dice
5a0e9a8dd9 try to match sound's time key with a [frame] begin time
Rather than automatically putting the soundpath in the first frame, we collect a list of begin= keys and their locations. When it's time to convert, we check to see if any of those begin times match with the sound time, and if so, put sound in that [frame]. Only if there is no match do we default to the first frame, and we log a message noting the lack of a match.
2013-07-26 04:24:00 -04:00