78727 Commits

Author SHA1 Message Date
Celtic Minstrel
f9500f9b0e Add unit tests for utils::square_parenthetical_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
01cc36dabb Add unit tests for utils::parenthetical_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
730afb3d4b Add some unit tests for utils::split and utils::map_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
74afe17ddf Add the new GUI2 dialog to the unit tests in the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
7860b2845b Add some missing test files to the Xcode project 2021-04-05 13:35:52 -04:00
doofus-01
3da068801b
terrain-graphics - remove hard cut on convex walls of human castle ruins, to blend with sunken ruins (#5667) 2021-04-04 12:08:48 -07:00
Steve Cotton
de3e798e72 Update the animals Micro-AI demo with boars and piglets
This adjusts to the change in e7b5996e988747c2b590852b4b461abe48857526.

The micro ai itself is unchanged, it's still controlled by `tusker_type` and
`tusklet_type`, it simply needed the new unit ids to be used in this scenario.
2021-04-04 20:23:46 +02:00
Celtic Minstrel
942743eb78
run_wml_tests: Fix indentation 2021-04-04 10:44:26 -04:00
Celtic Minstrel
be4b10a611 Update Xcode project
In addition to the new source file, this adds a number of header files that had been missed in previous updates.
2021-04-04 03:44:10 -04:00
Pentarctagon
139370b0a8
Remove comments so doxygen will use the parent class's comment. 2021-04-04 02:37:51 -05:00
Steve Cotton
6579f073c1 pango_text: remove unused force options and single-character insertion
The single-character insertion seems unlikely to be used in future. While
pango_text isn't a singleton, a few shared instances are created and then used
in a singleton-like way, with each caller assuming that it received it in an
unknown state and always calling set_text(), set_font_size(), set_font_style(),
etc.
2021-04-04 08:47:32 +02:00
Pentarctagon
38e7afb07f
Update changelog. 2021-04-04 01:32:01 -05:00
Pentarctagon
6b97a76109 Add a prompt to allow entering an add-on's password at upload time.
This is an alternative to needing to store the plaintext password in the _server.pbl.
2021-04-04 01:28:23 -05:00
Celtic Minstrel
5fc4b235a9 WFL: Fix carryover bonus being represented as an int 2021-04-04 00:58:57 -04:00
Celtic Minstrel
a755788392 run_wml_tests: Skip tests that expect strict validation failure if log-strict is disabled 2021-04-04 00:58:48 -04:00
Celtic Minstrel
099414ed1e run_wml_tests: Don't append to the provided path if it's not a directory
This allows passing an explicit path on Mac (instead of using the automatic -p xcode option), since the binary is not named "wesnoth" on that platform.
2021-04-04 00:58:42 -04:00
doofus-01
77f8112032
Update changelog.md 2021-04-03 21:18:31 -07:00
doofus-01
e7b5996e98
remove reference to tusker, replace with boar or piglet (#5662)
* remove reference to tusker, replace with boar or piglet
2021-04-03 21:15:24 -07:00
doofus-01
31bc471d39
Update changelog.md 2021-04-03 16:39:55 -07:00
doofus-01
bdfb550e9a
scorpion variations (#5589)
* portrait variation for sand-scuttler scorpion variation

* units - scorpion zombie/soulless variation

* addition of new unit called rock scorpion
2021-04-03 16:35:26 -07:00
doofus-01
22a9d21dee
various small fixes (#5613)
* units - fix incorrect file type (png -> ogg) in animation

* units - touch-up WC beast_rider portrait
2021-04-03 14:49:28 -07:00
Pentarctagon
e668c477c5
Delete SUPPORT.md and move CONTRIBUTING.md.
SUPPORT.md was a small subset of CONTRIBUTING.md, and CONTRIBUTING.md no longer has a TOOD section and so should be moved to where more people will see it.
2021-04-02 19:05:10 -05:00
Tahsin Jahin Khalid
18b42b0439
Fix for weather change cheat in dark forecast (#5656)
Adjusted the weather change effect from side 3 turns to side 1 turns. Side 1 is never empty so it would bypass the side 3 as empty cheat which impeded weather changed.
2021-04-02 18:19:03 -05:00
Pentarctagon
6fcd4ede8d
Fill out PR section. 2021-04-02 17:29:46 -05:00
Tahsin Jahin Khalid
7f9b399235
Dark Forecast Lua file comment Typo fix (#5658)
Fixed a typo in the comments and in a function name.
2021-04-02 14:51:46 -05:00
Celtic Minstrel
89778ca26f WC: Change the invest dialog title to be more descriptive
I doubt anyone who hasn't played before will guess what "Invest" means.
2021-04-02 11:38:39 -04:00
Andrey Bienkowski
1760e6f5ff Fix a typo 2021-04-02 10:20:09 -05:00
Andrey Bienkowski
003419bba9 Fix typo
singular: brother; plural: brethren; plural possessive: brethren’s
granted: it is possible that this word is an exception. I'm not an expert
2021-04-02 10:19:51 -05:00
Nils Kneuper
b73d66eff1 updated British English translation 2021-04-02 09:52:19 +02:00
Charles Dang
289ac354a0
Merge pull request #5646 from stevecotton/wfl_error_thread_master
[1.15] Make WFL's error-reporting machinery thread_local
2021-04-01 10:19:49 -04:00
Pentarctagon
ea46abf5b0
Run wmlindent. 2021-03-31 13:46:12 -05:00
Celtic Minstrel
726b5458f9 SotA: Convert zombie recruit dialog to WML 2021-03-31 14:02:29 -04:00
Pentarctagon
690e8f0193
Prevent deprecation message details from being on a separate line.
The log handler does some kind of per-line sorting of these, so a single deprecation warning ends up with the detail line first and the message line second (line order reversed). When there are multiple deprecation messages, their detail lines and message lines get jumbled together.  This seems to be tied together with how it detects repeated instances of the exact same error/warning, so putting both the message and the detail on the same line is much simpler than tinkering with that.
2021-03-31 11:57:46 -05:00
Pentarctagon
852938519a
Run wmlindent. 2021-03-31 10:29:10 -05:00
Celtic Minstrel
cc12e342a0 tutorial: Convert character dialog to WML 2021-03-31 09:43:48 -04:00
Celtic Minstrel
7defa434e8 WC: Convert the remaining dialogs to WML
- Pickup confirmation
- Got unit from invest
- Settings for map editor
2021-03-31 09:29:20 -04:00
Celtic Minstrel
1af920669c WC: Make that macro uppercase as per style guidelines 2021-03-31 02:17:23 -04:00
Celtic Minstrel
63aad7453c WC: Convert the help dialog to WML 2021-03-31 02:05:55 -04:00
Celtic Minstrel
a51271670c WC: Convert invest dialog to WML 2021-03-31 01:27:06 -04:00
Celtic Minstrel
ea2d74580f WC: Fix invest dialog 2021-03-31 00:45:14 -04:00
Celtic Minstrel
7fa0e1aa16 WC: Fix typo 2021-03-31 00:40:47 -04:00
Celtic Minstrel
6b31335fa9 WC: Fix error in destruction mechanic 2021-03-31 00:39:49 -04:00
Iris Morelle
4889769fec bi: Add Lua library version
It *is* a built-in library, but it changes over time. It may prove
useful in future times to be able to readily tell what Lua version is
attached to a particular Wesnoth dev version since it's harder to keep
track of singular releases (e.g. I don't remember which dev release
upgraded us to Lua 5.4 right now).
2021-03-30 20:06:44 -03:00
Iris Morelle
0438df91d2 bi: Don't localize the features table for stderr/clipboard
It's meant for devs anyhow. This also means we need to strip the caret
annotations ourselves but that's actually a trivial operation.
2021-03-30 19:56:47 -03:00
Steve Cotton
b8b06d0862 Make WFL's error-reporting machinery thread_local
To report the WFL call stack in the event of errors, a static stack is used to
record that call-stack. This wasn't thread-safe, and it intermittently crashed
when the game config was movetype patching (the other WFL thread involved is
the GUI2 layout code).

Also a Rule of Three fix for the call_stack_manager class. While this wasn't
the cause of the crash, it could also have lead to a call_stack.pop_back() on
an empty stack.
2021-03-29 14:33:21 +02:00
Steve Cotton
884fa9ca6f Fix units that should have zero max mp being given one mp
Corrects a cut & paste typo in 66a282a96be288a284d12a71625868cee5b2dc6b.
2021-03-28 17:40:07 +02:00
Steve Cotton
20eb001be3 Unit tests for [effect]apply_to=movement and [effect]apply_to=vision
These would also pass on 1.14, checking that movement does affect vision if and
only if vision hasn't been modified separately. The comments talk about an
[effect]also_apply_to_vision= attribute which hasn't been added yet, the aim of these
tests is to regression test that attribute when it is added.
2021-03-28 17:40:07 +02:00
Celtic Minstrel
6e7f4abaec WC: Make sure we don't try to map_split nil either 2021-03-28 11:05:22 -04:00
Celtic Minstrel
7b4b9d8969 WC: Make sure we don't try to split nil 2021-03-28 10:55:13 -04:00
Celtic Minstrel
f737013203 Fix some issues with wesnoth.map.read_location and wesnoth.map.get 2021-03-28 10:55:03 -04:00