Commit graph

2674 commits

Author SHA1 Message Date
Elvish_Hunter
f13ad9f5b9 GUI.pyw: allow terminating the running script
Fixes #3485
2018-10-25 23:08:59 +02:00
Elvish_Hunter
2addd69a34 wmllint: fixed a bug that caused misfires in translation mark warnings
wmllint was checking for line instead of lines[i]
2018-10-14 12:11:19 +03:00
Elvish_Hunter
fd26be92e0 wmllint: fixed non-empty tagstack errors due to [modify_ai] paths 2018-10-14 12:11:19 +03:00
Elvish_Hunter
fe26f513b8 wmllint: add translation mark only after the first equal sign
Fixes #3489
2018-10-14 12:11:19 +03:00
Celtic Minstrel
42c48d1483 Move wmlxgettext to the data/tools directory so that it's automatically included in official packages
(cherry-picked from commit 59e78e5565)
2018-10-07 03:24:58 +00:00
Elvish_Hunter
338d190563 wmllint: added [lua] to the allowed children of [if]
(cherry-picked from commit b1ec52cab8)
2018-10-07 03:24:10 +00:00
Elvish_Hunter
236ca25832 wmllint: don't even try to convert _info.cfg
(cherry-picked from commit 6e696661fd)
2018-10-07 03:24:10 +00:00
Elvish_Hunter
46f9d93c4c wmllint: do not warn about unknown IDs in [tunnel], except inside of [filter]
(cherry-picked from commit 2d045f2a6a)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
2b0bbd8280 wmllint: do not warn about unknown IDs in [remove_event]
(cherry-picked from commit 2dda3280c1)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
87999f68b4 wmllint: do not warn about unknown IDs in [aspect]
(cherry-picked from commit 9b5c0dda5c)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
ef51a288d8 wmllint: avoid inserting image=wesnoth-icon.png if there's already an image
(cherry-picked from commit 3b8a684551)
2018-10-07 03:24:05 +00:00
Elvish_Hunter
8fe84b9815 wmllint: fixed 'unknown id' errors in [fire_event] referred to event IDs
(cherry-picked from commit c08963a2e7)
2018-10-07 03:24:05 +00:00
Elvish_Hunter
4b81eb5081 wmllint: fixed a regex that didn't match augmentation tags
(cherry-picked from commit cc178ad474)
2018-10-07 03:24:04 +00:00
Elvish_Hunter
8b32f89a1f wmllint: added side_name to the list of translatable keys
(cherry-picked from commit 8bea419899)
2018-10-07 03:24:04 +00:00
Elvish_Hunter
f25f1316cc wmllint: added a missing conversion rule for the Qatif-al-nar unit
(cherry-picked from commit 3caf128378)
2018-10-07 03:24:04 +00:00
Elvish_Hunter
cb4c5301ad wmlindent: fixed crash on non-existent paths
Fixes #3346

(cherry-picked from commit af63d17e32)
2018-10-07 03:23:39 +00:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0
(cherry-picked from commit bc4d22dc72)
2018-10-07 03:23:36 +00:00
Iris Morelle
6d4d48e540 wmllint: Exit with non-zero status after failing to read any directories
[ci skip]

(cherry-picked from commit ceca46c553)
2018-10-07 03:23:01 +00:00
Iris Morelle
54a3546f1e wmllint: Skip inexistent paths passed in the command line
Fixes issue #3286.

[ci skip]

(cherry-picked from commit fbc9ac5a52)
2018-10-07 03:23:01 +00:00
Iris Morelle
fb409b5db4 wmllint: Leave gzipped binary files alone, they're not safe for consumption
Fixes wmllint crashing like this upon encountering a gzip tarball in an
add-on:

  Traceback (most recent call last):
    File "/home/shadowm/bin/wmllint-1.14", line 3188, in <module>
      for fn in allcfgfiles(directory):
    File "/home/shadowm/bin/wmllint-1.14", line 2944, in allcfgfiles
      if interesting(os.path.join(root, name)):
    File "/home/shadowm/bin/wmllint-1.14", line 2927, in interesting
      return fn.endswith(".cfg") or is_map(fn) or issave(fn)
    File "/home/shadowm/src/wesnoth-1.14/data/tools/wesnoth/wmltools3.py", line 270, in issave
      return firstline.startswith("label=")
  TypeError: startswith first arg must be bytes or a tuple of bytes, not str

[ci skip]

(cherry-picked from commit c92e167a14)
2018-10-07 03:22:59 +00:00
Iris Morelle
482b003a16 tools: Add steam-changelog
This is a script to take a changelog section (provided in the command
line as such: `steam-changelog changelog.md X.Y.Z`) and convert it to
BBCode for posting on Steam.

[ci skip]

(cherry-picked from commit a92b83e404)
2018-10-07 03:22:33 +00:00
Iris Morelle
628d0d9ed2 Make Credits page on wiki.w.o use the new TOC markup for mobile support
[ci skip]

(cherry-picked from commit 45ab8e5b62)
2018-10-07 03:22:25 +00:00
Severin Glöckner
7afb8a8a41 wmllint: add campaign abilites & specials
So far only stun was in the list

[ci skip]

(cherry-picked from commit ed46bc1d2b)
2018-10-07 03:21:10 +00:00
Iris Morelle
a4f7f5c37c wam: Allow using embedded data URIs as add-on icons
[ci skip]

(cherry-picked from commit 4335bedeff)
2018-10-07 03:20:41 +00:00
Wedge009
0b98ddd96b Update text to match changes in dialogues (fixes #2882).
[ci skip]

(cherry-picked from commit f1bcdc7f1b)
2018-10-07 03:20:34 +00:00
galegosimpatico
5b5442b1af Bump program version.
(cherry-picked from commit bbd83f17ed)
2018-10-07 03:20:08 +00:00
Celtic Minstrel
ec207923e4 GUI.pyw: Fix wmlxgettext run failing if the output file already exists
(cherry-picked from commit 5795892649)
2018-10-07 03:20:02 +00:00
Iris Morelle
391ddd45b2 wam: Add *.ini to upload blacklist to match the engine, reorder a few items
[ci skip]

(cherry-picked from commit 51111db8f7)
2018-10-07 03:18:30 +00:00
Iris Morelle
1ab0301064 wam: Update description and name for Modifications
They are no longer just for multiplayer mode (see issue #1475, commit
a09e2bb858).

[ci skip]

(cherry-picked from commit 39b05dd0db)
2018-10-07 03:18:02 +00:00
Iris Morelle
0b3f14d63e campaignd: Set port allocation for version 1.14 2018-03-18 17:25:23 +11:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
V N
f7b31e79c9 addon_manager: allow uploading . dir
fixes GH-2494
2018-02-20 13:41:29 +02:00
Iris Morelle
8413b1014e wesmere: Copyright/attribution update
[ci skip]
2018-02-16 19:56:31 -03:00
vgaming
098b4495bc addon_manager: allow overriding keys (#2491)
[wesnoth_addon_manager] Allow overriding keys in _server.pbl

Example usage:
wesnoth_addon_manager \
	--port 1.13.x \
	--upload ~/.local/share/wesnoth/1.13/data/add-ons/example \
	--pbl-override version "$(git describe --tags)" \
	--pbl-override description "$(cat avoid_copy_paste_with_WML)" \
	--pbl-override passphrase "in countrary to server.pbl, this is secret"

Downsides: user has to be aware that specifying
passwords as CLI arguments is not safe in a multi-user environment.
If we're really-really serious about it, we should parse
values from environment variables then..
I wouldn't bother though.

fixes GH-2485
2018-02-14 20:49:43 +01:00
V N
ae048467ed addon_manager: simplify usage
To remove an add-on, you now have to use:
--remove ADD_ON PASSPHRASE
instead of:
--password 123 --remove NAME

Also, this commit fixes the badly
documented --password field.
It could previously be read as it can be applied
to any operation, not only removal.
But in fact it could only be used for removal.

Fixes GH-2445
2018-02-12 21:00:55 +01:00
V N
0193302847 addon_manager: fix default ign file 2018-02-12 00:11:26 +01:00
pentarctagon
dc21c42683 Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
See this thread, along with a few linked within:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47704

The purpose of this is both to:
a) Make the unit names more descriptive, so new players especially will have an easier time learning them and knowing what they do.
b) Make them eligible for translation, like the units of other factions are.

This commit only renames the files, along with the faction/AoH faction and wmllint.
2018-02-04 11:46:50 +11:00
pentarctagon
5b31b87f6a MP: Renames the Khalifate to Dunefolk.
Part of an effort to make the faction better fit into Wesnoth. See:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47643
https://forums.wesnoth.org/viewtopic.php?f=12&t=47703
2018-01-19 17:28:40 -05:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018 2018-01-19 00:02:20 -06:00
Gunter Labes
03b6ad568c
Continue if there is an old executable
Chances are that the previous build works just as well.
We just need it for config file parsing which does not change often.
2018-01-12 19:14:41 +01:00
Allefant
4de5cdc7d3 update the addon manager for "simple WML" 2018-01-09 09:23:50 +01:00
Gunter Labes
7cdec04c7f
only keep env vars upper case, add missing quotes 2018-01-09 02:06:04 +01:00
Gunter Labes
a535a3140c
Use a more generic default value 2018-01-08 23:36:10 +01:00
Vasya Novikov
7be364f3b5 addon_manager: fix append_tag usage
Note that this still doesn't allow the --upload
functionality to work. After this fix,
wesnoth still complaints about unordered WML.

It is believed that this is a separate issue though,
happened because of the latest simple_wml changes.
2017-12-20 22:23:53 +02:00
Elvish_Hunter
df4e424db0 moved a have_icon flag that caused wmlscope to not find attack icons any more 2017-11-01 13:46:31 +01:00
Elvish_Hunter
fca4795f30 wmlscope: fixed a bug that caused UMC map paths to not be found
Due to the new regex used, the tilde before UMC paths was now collected but never removed from the paths.
2017-11-01 13:46:31 +01:00
Ignacio R. Morelle
394b16697f s/Translations/Translators/ seems more appropriate
[ci skip]
2017-10-16 19:54:42 -03:00
Ignacio R. Morelle
ec49b83bf9 Minor stylistic changes to credit entries
* Overrule any CSS clear properties set by the stylesheet since they do
   not play well with the page's use of a floated TOC.

 * Use em dashes instead of hyphens for entry comments.

 * Refer to the main contributors as Core Contributors instead of simply
   Contributors, and add a custom heading for localization entries so it
   doesn't become just "Core" after the folder name.

 * Additional styling on file paths.

[ci skip]
2017-10-16 19:38:39 -03:00
Ignacio R. Morelle
4e6cdc60c9 Add localization credits to wiki extraction tool
[ci skip]
2017-10-16 19:22:58 -03:00