Alexander van Gessel
4b9294b23c
Warn about an obsolete argument
2012-08-10 17:41:18 +01:00
Alexander van Gessel
6bc036c4e8
Add --build-system option to wescamp.py...
...
...so the script doesn't have to rely on guesswork to find existing
checkouts
2012-08-10 17:41:16 +01:00
Alexander van Gessel
79d1be5abf
Uglyish and not entirely tested form of init-build-sys.sh integration
2012-08-10 17:41:15 +01:00
Alexander van Gessel
a91ee3b6b4
Replace path concatenation with os.path.join
2012-08-10 17:41:12 +01:00
Alexander van Gessel
13e278b4ed
Add get_build_system function to libgithub,
...
...which somewhat abuses the rest of the module so you don't have to
2012-08-10 17:41:10 +01:00
Alexander van Gessel
5d9bb785fa
Expose the Addon.get_dir function
2012-08-10 17:41:08 +01:00
Alexander van Gessel
cf6f550248
Make some windows-specific not cause NameErrors
2012-08-10 17:41:06 +01:00
Alexander van Gessel
dfd67522d5
Add TODOs to some libgithub.Addon._execute calls where check_error=False
2012-08-10 17:41:04 +01:00
Alexander van Gessel
4c18f76a12
Make GitHub._github_api_request recurse...
...
...when a Link header with rel="next" is encountered, to deal with pagination
2012-07-18 22:56:57 +01:00
Alexander van Gessel
514780ee99
Refactor libgithub.GitHub._github_api_request: take an url...
...
...and optional request method, not a urllib2.Request object
2012-07-18 22:56:55 +01:00
Alexander van Gessel
63ce3d2bb4
libgithub fix
2012-07-18 22:56:46 +01:00
Elias Pschernig
aef708cbc4
[wmlunits] use SKIP_CORE when parsing mainline campaigns,
...
...automatic data/core parsing with --preprocess doesn't seem to work anymore
2012-06-24 13:03:08 +00:00
Alexander van Gessel
ef19b2586a
Add a case for pulling from non-initialized repositories
2012-05-20 22:05:42 +01:00
Ignacio R. Morelle
d65124a8c2
terrain2wiki: Remove leading/trailing whitespace in lines before parsing
...
The Dark Flagstones terrain had .aliasof at the last line before the
closing tag, which caused a newline to be output right before </code> in
the wiki page, and in turn causing MW to generate invalid XHTML.
This change makes the generated wiki page valid XHTML again (except for
another problem with the actual glamdrol theme, not the page contents).
2012-05-12 21:29:00 +00:00
Ignacio R. Morelle
15510a8dcd
terrain2wiki: Wrap .string and .aliasof column contents in <code>...
...
...and use | instead of the Unicode broken bar (fixes bug #19678 )
This also extends the vertical bar escaping to the .aliasof column
contents (in case we ever get base terrains with vertical bars)
By using <code> we should be able to stick to byte-accurate contents
without compromising readability, by styling terrain type strings in a
default monospace font suitable for code display (i.e. | and l should be
distinguishable from each other).
2012-05-12 21:11:07 +00:00
Alexander van Gessel
c9a5c32bb4
Rename [object]duration=level to [object]duration=scenario
2012-05-01 22:13:52 +01:00
Mark de Wever
7efcde580f
Escape the pipe-symbol in the wiki uploader.
...
Fixes the display off terrains with a pipe-symbol in the wiki.
Fixes bug #19678 .
2012-04-30 20:29:52 +00:00
Alexander van Gessel
04f9899eb6
Say *which* add-on is blocked by untracked files
2012-04-16 14:04:21 +01:00
Alexander van Gessel
dceff02c33
Make libgithub's readonly cleanup a bit more potent
2012-04-16 13:57:23 +01:00
Alexander van Gessel
7ee1d6c55f
Have some logs make some more sense
2012-04-14 02:11:24 +01:00
Alexander van Gessel
1fc1cdddd2
Remove some unneeded imports
2012-04-14 02:11:21 +01:00
Alexander van Gessel
70abf0e6f8
Make wescamp send all its logs to stdout, rather than some
2012-04-14 02:11:19 +01:00
Alexander van Gessel
542e9122a9
Try to clean up readonly checkouts
2012-04-14 02:10:59 +01:00
Anonymissimus
3bbe460a4e
wmmlint rule for previous commit
...
No updates to mainline wml required.
2012-03-29 15:28:34 +00:00
Anonymissimus
a396df7abe
cheap wmllint rule for viewing_side -> side
...
Global renaming; there is only 1 false positive in my addons
and none in mainline. I hope nobody uses this string as a tag
or variable name.
2012-03-27 19:50:39 +00:00
Elias Pschernig
ed0a21cb58
[wmlunits] Set extra_defines from [campaign] in addition to the campaign define.
2012-03-23 20:40:37 +00:00
Elias Pschernig
1b4e09bc80
[wmlunits] Ignore hidden units also in the navigation bar.
2012-03-23 20:16:48 +00:00
Alexander van Gessel
6439916e9f
Disable the python wmlxgettext script...
...
...so people don't spend days trying to figure out why it doesn't do
what it should
2012-03-19 03:30:19 +01:00
Elias Pschernig
93a9a3a330
Added wiki output option to wmlunits.
2012-03-16 18:16:47 +00:00
Elias Pschernig
216443b910
[wmlunits] Treat negative defense values as if they were positive.
2012-03-11 23:24:53 +00:00
Elias Pschernig
b6089cba9f
[wmlunits] Fix errors in The_Earths_Gut and Archaic_Era...
...
...due to mistakenly ignoring hide_help=true units being used in
[base_unit].
2012-03-09 20:22:54 +00:00
Alexander van Gessel
34647d1a9a
Add a quiet option to wescamp.py.
...
Make everything but verbose call CampaignClient quietly
2012-03-09 03:23:49 +01:00
Alexander van Gessel
b2c266ac01
Add a quiet option to CampaignClient
2012-03-09 03:23:47 +01:00
Alexander van Gessel
1b94118b83
Replace os.tmpnam with tempfile.NamedTemporaryFile
2012-03-09 03:23:44 +01:00
Elias Pschernig
1a45e8f61e
[wmlunits] Add warnings about missing images to log.
2012-03-08 12:51:51 +00:00
Elias Pschernig
d815cabe7b
[wmlunits] For units without a portrait use a scaled base image.
2012-03-07 17:46:23 +00:00
Elias Pschernig
811319b2a3
[wmlunits] exclude tempfile paths from error messages
2012-03-07 13:40:18 +00:00
Elias Pschernig
a295a6909f
[wmlunits] converted error log to html
2012-03-07 13:20:26 +00:00
Ignacio R. Morelle
6a63680815
wesnoth_addon_manager: Make 1.9.x portspec alias to 1.10.x...
...
...since the server scripts haven't been fixed for 1.10 yet
This must be reverted once the 1.10 server transition is completed.
2012-03-06 06:18:25 +00:00
Elias Pschernig
80b2ae2cf2
[wmlunits] Added per-addon log pages.
2012-03-04 23:11:15 +00:00
Alexander van Gessel
6949e4679d
Add -C/--checkout-readonly option to wescamp.py
2012-03-04 23:45:02 +01:00
Alexander van Gessel
fa75530c76
Remove some stray code
2012-03-04 19:35:53 +01:00
Alexander van Gessel
d6bae92b9c
Rename a number of variables containing 'svn'
2012-03-04 19:35:51 +01:00
Alexander van Gessel
46d35e90ef
Remove last references to libsvn
2012-03-04 19:35:48 +01:00
Alexander van Gessel
7ea2f8bc39
Make the -g/--git option the default, removing the svn equivalents
2012-03-04 19:35:45 +01:00
Alexander van Gessel
62caeb242f
Document a usage of wescamp.py
2012-03-04 19:35:41 +01:00
Elias Pschernig
76a68a2c61
[wmlunits] fix path to error log
2012-03-04 17:38:31 +00:00
Elias Pschernig
8b145520a5
[wmlunits] Added error log page.
2012-03-04 15:46:41 +00:00
Elias Pschernig
182dc77281
[wmlunits] Handle [advancefrom] WML tags for units.
2012-03-04 14:20:20 +00:00
Elias Pschernig
3ebb10809c
[wmlunits] Add units from an era but without any faction...
...
...to a special "factionless" faction.
2012-03-03 18:01:06 +00:00