81691 Commits

Author SHA1 Message Date
Gunter Labes
bf8e3ed137
Schema update for 6876695 2023-03-13 14:16:12 +01:00
Elvish_Hunter
becf628198 wesnoth_addon_manager: added IPv6 support 2023-03-12 10:16:01 +01:00
Elvish_Hunter
7e67bc5d08 wesnoth_addon_manager: added SSL/TLS support 2023-03-11 19:55:58 +01:00
Pentarctagon
6fe2627048 Fixup, complete, and enable the lobby's game history viewer.
At some point in the future I'd like to come back and add some search parameters - right now it shows the game history of the currently selected player in the lobby, but ideally it would instead have options for player name, era, scenario, etc.
2023-03-11 10:55:55 -06:00
Pentarctagon
c6b9ceb61e Move the utbs abilities include out of [units]
Fixes #7426
2023-03-11 10:39:59 -06:00
Pentarctagon
e18d2ff314 Add retries for boost unit test timeouts. 2023-03-10 19:03:18 -06:00
Gunter Labes
13f87fdebb
Ignore lines with a " before the first = as well 2023-03-10 15:10:29 +01:00
Gunter Labes
5e45184480
Remove bogus single quote handling 2023-03-10 15:08:35 +01:00
Elvish_Hunter
c78cc7a2b0 wmlindent: don't begin string concatenation if the line is commented out
Fixes a bug reported by Toranks.
2023-03-10 10:51:29 +01:00
Pentarctagon
11fdf19e58 Fix SDL2 conftests with new msys2 image. 2023-03-09 20:40:42 -06:00
Elvish_Hunter
5f0b4178a7 wesnoth_addon_manager: warn and exit if a deactivated server is used 2023-03-10 00:08:54 +01:00
Elvish_Hunter
88fb94289c wesnoth_addon_manager: don't upload old-style add-ons
Fixes #7431.
2023-03-09 23:12:49 +01:00
Elvish_Hunter
841b42d26c wesnoth_addon_manager: update another deprecated method 2023-03-09 22:37:59 +01:00
Elvish_Hunter
1aac405869 wesnoth_addon_manager: update a deprecated method 2023-03-09 20:48:32 +01:00
Steve Cotton
3ab5770ca8 Improve docs about pango_text's high-dpi encapsulation
A couple of functions become private. Although render_texture(viewport)
is dead code I think it's useful enough as documentation to leave it in,
at least until we work out how to fix the crash when trying to show the
long text in the end_credits screen.

The removed render_surface() would be private because it returns a
surface with render-space width and height, however it was also never
called and wouldn't be useful as documentation.
2023-03-09 15:10:07 +01:00
Wedge009
a2b79e8c4d Correction: Lintair -> Lintanir
[ci skip]
2023-03-09 19:51:33 +11:00
loonycyborg
9df0a5943f
scons: fix paths when compiling .rc files
Previous way of addressing compiled .rc files led to stale intermediate
targets leading to issue #7441
2023-03-08 20:43:46 +03:00
Charles Dang
23678b247b
Merge pull request #7442 from binarydigitz01/master
Display ID of addon in addon manager
2023-03-08 11:15:24 -05:00
Arnav Vijaywargiya
02a4c1beac Display ID of addon in addon manager 2023-03-08 08:48:20 +05:30
SyedSaifuddin045
bf5befcd5e
Remove obsolete mutex
Reverts b780da4 and fixes #7371
2023-03-07 23:12:09 +01:00
Steve Cotton
1bbce8a610 GUI: fix indentation that uses both tabs and spaces on the same line
This isn't the complete set needed to allow `check_mixed_indent` to
run over the data/gui directory, it's just these small changes:

* Remove the single space from lines indented "tab ... tab space".
* Convert lines indented with "tab ... tab four_spaces".

Although these are WML files, the coding standard for the data/gui
directory is to indent with tabs instead of spaces.
2023-03-07 12:21:28 +01:00
nemaara
5eccc94a0b Buff corpse launcher 2023-03-05 23:40:19 -08:00
Pentarctagon
dedf00ef1c Remove use of is_unit_test. 2023-03-05 11:08:21 -06:00
Nils Kneuper
f365841129 updated Spanish translation 2023-03-05 10:10:09 +01:00
Pentarctagon
3f279ba87b Missed updating the comments a while ago apparently. 2023-03-03 14:31:33 -06:00
Steve Cotton
405e315f1e Add a CMake and SCons flag for GLIBCXX_ASSERTIONS without GLIBCXX_DEBUG
Turning GLIBCXX_ASSERTIONS adds some bounds checks, such as checking
in std::string::operator[]. It's a subset of the checks that GLIBCXX_DEBUG
adds, but has the advantage that it doesn't require a rebuild of the Boost
libraries.

None of the CI builds enable these assertions, as they slow down the code
which makes the unit tests time out.
2023-03-03 10:44:22 +01:00
Steve Cotton
f1ba89ec6d Fix mixed indents in the schema, and verify new additions
This uses tabs instead of spaces, because although that's not our coding
standard, it is only a few lines of changes.

The alternative of running wmlindent on these files changes 4700 lines.
2023-03-02 15:34:41 +01:00
Steve Cotton
1a7d1e349c Help: don't display trait availability, and refactor code
The `[trait]availability=` attribute acts as a part of the parent tag, not as a
part of the trait itself. For example, `[trait]id=fearless` occurs in both the
`TRAIT_FEARLESS` and `TRAIT_FEARLESS_MUSTHAVE` macros, and the trait is:

* Must-have for units: Ghast, Ghoul, ...
* Available for non-leaders of race: Troll
* Available for non-leaders of types: Dune Paragon, HI, ...

Showing a single "Availability:" in the help is therefor misleading. Adding a
detailed list of where it's available adds a lot of code complexity for little
gain; this commit takes the code cleanup and comments from prototyping that,
but just removes the "Availability:" text from the help.
2023-03-02 14:18:58 +01:00
Luis Miguel Iglesias Sánchez
252d4148c4
UtBS S05 add logic to the main cavern event so scouting is taken into account (#7427) 2023-02-28 16:57:16 -06:00
Toranks
5fbfed386e Added animation when units go to recall list 2023-02-27 21:12:49 -06:00
Nils Kneuper
8b4440ea5b updated Spanish translation 2023-02-25 12:25:51 +01:00
Nils Kneuper
f9f2cc4bd0 updated British English translation 2023-02-25 12:24:37 +01:00
Pentarctagon
3de5872e5e Add SPI donation link to readme 2023-02-22 21:36:14 -06:00
Wedge009
1745a8bbca Catch invalid argument exception for stoi in unit advancement. Resolves #7402. 2023-02-23 13:57:08 +11:00
Wedge009
fb095b8abb Units: Try to avoid hard-coding of size of known_boolean_states_.
#7363 added a new invulnerable state but neglected to increment the number of states.
2023-02-23 13:56:27 +11:00
Wedge009
90ef6bcc23 Non-healing state: Typographic apostrophe.
[ci skip]
2023-02-23 10:38:42 +11:00
Pentarctagon
2015ba0ed6 Fixup achievement wording 2023-02-22 17:31:03 -06:00
Toranks
6009b9ef14 Moved conditional into filter_condition 2023-02-22 21:02:46 +01:00
Pentarctagon
7b6027cdec Remove bizarrely small image from message 2023-02-21 17:57:30 -06:00
Pentarctagon
0b2f9ecc8d Fix image extension typo 2023-02-21 17:55:07 -06:00
Elvish_Hunter
a9d97b6a82 Ran woptipng on the two new status icons 2023-02-21 21:19:51 +01:00
Pentarctagon
50afb6ead9 column typo. 2023-02-21 13:51:57 -06:00
Severin Glöckner
d9aa849081 WC2: remove outdated comment
closes #6216
2023-02-21 16:53:12 +01:00
Jason Stephenson
373f8a4245 Resolve Issue 7398: Crash on Attack with Planning Mode
The game crashes when the player clicks the Attack button with
planning mode with a console error about a failed assert on line 164
of src/whiteboard/attack.cpp.  The assert uses > but it looks like it
should be >=.

This commit switches from > to >= and appears to resolve the issue.
2023-02-21 09:02:45 +01:00
Toranks
8bb7dace3f Typo ““ > “ 2023-02-20 20:46:42 -06:00
Pentarctagon
c9eae7c35b 1.17.13+dev 2023-02-19 22:08:57 -06:00
Pentarctagon
113056c9e1 1.17.13 1.17.13 2023-02-19 22:08:56 -06:00
Pentarctagon
42c4d22065 pot-update and regenerate doc files 2023-02-19 22:08:56 -06:00
Steve Cotton
cf4bcd1c4e Big changelog update
Most of this came from checking the commit log, changelog_entries hasn't
become part of the usual workflow yet.
2023-02-19 14:50:33 +01:00
Nils Kneuper
283051b52f updated Dutch translation 2023-02-18 11:34:06 +01:00