78898 Commits

Author SHA1 Message Date
Pentarctagon
bf04973267
1.15.12+dev. 2021-04-17 21:44:28 -05:00
Pentarctagon
a576b0a180
1.15.12. 1.15.12 2021-04-17 21:44:27 -05:00
Iris Morelle
d362861b59 Clarify changelog entry
[ci skip]
2021-04-17 22:28:56 -04:00
Iris Morelle
cd7a7a0972 pot and documentation update 2021-04-17 22:24:51 -04:00
Pentarctagon
14107b3ae6 Use the database to store and retrieve login history for the searchlog command.
This allows the history to be persisted across restarts, whereas right now it's lost.
2021-04-16 12:42:35 -05:00
Steve Cotton
3d354dcd92 Update changelog 2021-04-16 11:48:40 +02:00
nemaara
16347c3b5c Roc: add description 2021-04-16 01:55:07 -04:00
nemaara
cb5762abf2 Fire Ant: add description 2021-04-16 01:55:01 -04:00
Celtic Minstrel
038219b823 run_wml_tests: Show negative test summary values
These values should never BE negative, but by showing them if they are, it makes it more obvious if something is broken.
2021-04-15 23:24:11 -04:00
Celtic Minstrel
bb10bbe059 run_wml_tests: Fix exit code 2021-04-15 23:24:03 -04:00
Celtic Minstrel
9535ed926c run_wml_tests: Fix off-by-one error in 1285060bc480b8568f6312ff2753a0645ebd0187 2021-04-15 23:23:48 -04:00
Celtic Minstrel
d507833199 Make the log_domain constructor explicit
Implicitly constructing a log_domain from a string has the effect of resetting its severity to 1 (or whatever severity was passed to the constructor). This is probably fine when it's declared as a file static, but no good if passing the log_domain to a log_scope2() or dont_log() call.
2021-04-15 23:23:42 -04:00
Celtic Minstrel
3627cb5766 Fix the missing comparison attribute warning in [variable] and add an additional warning for missing name 2021-04-15 23:22:49 -04:00
Steve Cotton
ad1c42ca8f Make [store_reachable_locations]range=vision calculate vision
Previously it calculated max movement, and then added the adjacent hexes. This
version should correctly handle:
* units with vp different to max mp
* units with vision costs different to movement costs
* jamming by enemy units

Draft changelog entry for this:
* `[store_reachable_locations]range=vision` now calculates vision, instead of using movement costs and max movement points (issue #4179)
2021-04-16 02:05:42 +02:00
Steve Cotton
147cd90527 Move lua implementation of [store_reachable_locations] to its own file 2021-04-16 02:05:42 +02:00
Celtic Minstrel
508bc2519e Add a guard_value utility for scoped temporary assignment 2021-04-15 19:02:34 -04:00
Celtic Minstrel
72cede2c8a Upgrade the existing scope exit utility 2021-04-15 19:02:34 -04:00
Iris Morelle
e3838ccaa5 font: Reset font family correctly in several places
Instead of assuming it's already set to a correct value.

Closes #5712.
2021-04-15 16:24:43 -04:00
Steve Cotton
adf39d3d4a Fix the indentation in test_lua_wml
This main change here is moving tags to their own line, to avoid wmlindent
bug #1397. The lua gets a manual tabs-to-spaces conversion.
2021-04-15 20:32:42 +02:00
Hejnewar
dd864d5a4a
Update changelog 2021-04-15 13:42:30 +02:00
Hejnewar
205a6c031b
Fix incorrectly set melee damage for Naga Sicarius 2021-04-15 13:41:33 +02:00
Steve Cotton
41722a6840 scenario-test: Add a right-click "show vision range" option
Make "show attack range" not overwrite the array for cleaning up
the "show movement range" command's display.

Add a label and tooltip about the enemy unit with jamming.

The new option shows the result of [store_reachable_locations]range=vision.
There are known issues with that for:
* units with vp different to mp
* units with vision costs different to movement costs
* jamming by enemy units
2021-04-15 12:58:37 +02:00
nemaara
f4af95682f Sand scuttler: update description 2021-04-15 04:20:33 -04:00
nemaara
3e54971d92 DiD: buff malin again 2021-04-15 04:16:49 -04:00
nemaara
0cca370ff5 DiD: buff Malin 2021-04-15 04:15:42 -04:00
nemaara
b8c5baaab3 TRoW: rebalance fix 2021-04-15 04:11:18 -04:00
Eric Gallager
06798cfda1
Edit "The Rise of Wesnoth" difficulty (#5603)
TRoW: edit difficulty
2021-04-15 03:58:42 -04:00
Gunter Labes
16ff3cebd1
Update changelog 2021-04-15 08:06:27 +02:00
Hejnewar
b4538cb896 Wose / Monster balance update 2021-04-15 07:56:30 +02:00
Hejnewar
df51670bda Fix for #5701 2021-04-15 07:56:30 +02:00
Hejnewar
7d72c2bfdd Dunefolk balance update 2021-04-15 07:56:30 +02:00
Celtic Minstrel
1285060bc4 run_wml_tests: Ensure the name of a failing test is included in the output
Previously, the runner relied on the name being part of the output log from the Wesnoth process.
This works in most cases because Wesnoth prints a line with the test's name before exiting.
However, if the test timed out, that line would typically be missing, so this makes the runner insert it into the failure message as well to make sure it's present.
2021-04-15 00:10:45 -04:00
Celtic Minstrel
99384b038c run_wml_tests: Don't crash if a test crashes 2021-04-15 00:10:34 -04:00
Charles Dang
35348ff246
Merge pull request #5697 from stevecotton/simplify_canvas
Simplify canvas: renderer lifetime and only one list of shapes
2021-04-14 21:50:07 -04:00
Elvish_Hunter
c72ea20c99 wesnoth_addon_manager: removed two calls to file() 2021-04-12 20:52:24 +02:00
Pentarctagon
772b871dec Add warning if [variable] has multiple comparison attributes. 2021-04-11 13:31:32 -05:00
Nils Kneuper
142c7a4ee3 marked string as fuzzy as requested by maintainer 2021-04-11 08:57:05 +02:00
Steve Cotton
362eebc6f0 Simplify canvas.cpp: only one list of shapes, not shared
Canvas kept separate lists of what had already been drawn and what needed to be
drawn, but whenever changes happened all of the drawn_shapes_ were put back
into shapes_. No point in having two separate lists.

The list of shape needs pointers to support polymorphism, but doesn't need
shared_ptrs.
2021-04-11 00:44:36 +02:00
Steve Cotton
9f8a19e6a7 Simplify canvas.cpp: the renderer only needs to exist during draw()
The renderer only needs to exist during draw(). The old implementation kept the
old renderer until the next call to draw(), but would then usually destroy the
old one and create a new one.
2021-04-11 00:44:36 +02:00
Celtic Minstrel
0aded2dcf8 Schema: [do_command] supports a sequence of commands 2021-04-10 18:18:48 -04:00
Celtic Minstrel
0839feed00 Schema: Add missing accuracy/parry keys to [attack] 2021-04-10 18:18:48 -04:00
Pentarctagon
cd26e800fa When checking [variable] comparison attributes, return after checking the first one.
The current implementation technically allows for there to be multiple comparison attributes present and it will return false if any of them are false or return true if all of them are true. This changes the implementation to only check the first comparison attribute found and return true or false based on that check, which is how the [variable] tag is documented as working on the wiki.
2021-04-10 17:01:04 -05:00
mattsc
fabaa5a28e
Merge pull request #5693 from mattsc/attack_comparison_poison
Fix better_attack evaluation for poison attacks
2021-04-10 09:26:44 -07:00
Steve Cotton
17cbc7c03e Fixup 7cbc6c9d5d and 5bb0576e17 2021-04-10 14:22:40 +02:00
Nils Kneuper
ebac0830cb updated Chinese (Traditional) translation 2021-04-10 11:26:34 +02:00
Nils Kneuper
01bebdd51d updated Czech translation 2021-04-10 11:19:37 +02:00
Nils Kneuper
7a348ddfcc updated Italian translation 2021-04-10 11:17:54 +02:00
Celtic Minstrel
5bb0576e17 Add some event filter tests 2021-04-09 23:09:47 -04:00
Celtic Minstrel
7cbc6c9d5d Add unit tests for auto-scoped variables in events 2021-04-09 23:09:47 -04:00
Celtic Minstrel
aa8e171816 Add more unit tests for nested event handlers and a few other things 2021-04-09 23:09:47 -04:00