Commit graph

2438 commits

Author SHA1 Message Date
Celtic Minstrel
3276b9a36c [LuaDoc] Fix missing and incorrectly optional arguments to gui.widget.remove_items_at 2024-02-07 22:10:33 -05:00
Celtic Minstrel
ba3b00f3df [LuaDoc] Add a type alias for a compiled formula function 2024-02-06 22:21:09 -05:00
Celtic Minstrel
121f0a3cac [LuaDoc] Add unit.loc field 2024-02-06 19:04:02 -05:00
Celtic Minstrel
265aea7da4 [LuaDoc] Document the third element of the location triple returned from paths.find_reach 2024-02-06 19:04:01 -05:00
Celtic Minstrel
3a7bd26067 [LuaDoc] Document ndirs member of a directory listing 2024-02-06 19:04:01 -05:00
Celtic Minstrel
3bf903e2a4 [LuaDoc] Avoid "Missing required fields" warnings by annotating the fields as optional.
This is probably rather unfortunate in the case of the unit fields, as it may now interpret it as meaning the fields can be nil. We'll see if this causes issues.
2024-02-06 19:04:01 -05:00
Celtic Minstrel
c7741907c2 [LuaDoc] Fix several errors in the inline documentation 2024-02-06 19:04:00 -05:00
Celtic Minstrel
5a51a309a4 [LuaDoc] Fix several minor errors in the specification of API 2024-02-06 19:04:00 -05:00
Celtic Minstrel
2aa7d9357d [LuaDoc] Fix failure to detect that the string type's metatable was overridden
This isn't a generic solution, but at least makes all our built-in stringx methods work.
2024-02-06 19:04:00 -05:00
pentarctagon
34c8753878 forgot to remove this too 2024-01-17 08:56:46 -06:00
pentarctagon
453dbc685f Enable stricter checks for debug builds.
Use _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, and _GLIBCXX_ASSERTIONS for the debug Ubuntu build.
2024-01-17 00:38:11 -06:00
loonycyborg
e62bd49d3d
mingw docker build: Copy arch's libssp-0.dll
because msys2 doesn't provide one anymore yet it's needed by arch's
cross toolchain
2023-12-18 22:31:09 +03:00
loonycyborg
e8321748ed
Install both 22.08 and 23.08 in flatpak runtime 2023-11-29 00:44:07 +03:00
pentarctagon
ed358bdfe6 revert to 22.08 until new release of 23.08 2023-11-18 21:46:43 -06:00
pentarctagon
ec0f8f9942 exclude versions too old to have all data populated. 2023-11-11 18:29:46 -06:00
pentarctagon
c9ba117cb0 update flatpak docker image to 23.08. 2023-11-11 18:18:25 -06:00
pentarctagon
82408b2131 change sorting. 2023-11-08 18:22:24 -06:00
Gunter Labes
6cc717042d
Kill wesnothd when script is killed with INT 2023-11-02 18:41:37 +01:00
Gunter Labes
8788c55874
Run trunk server with SQL debug logging 2023-11-02 18:00:49 +01:00
pentarctagon
47eef10a32 update msys2 image. 2023-10-28 01:17:32 -05:00
Gunter Labes
f3c963ca00
Make --threads optional 2023-10-27 22:08:36 +02:00
pentarctagon
ae4242a430 update path 2023-10-24 23:11:36 -05:00
Celtic Minstrel
10d67aa82a Implement a new Lua API to the undo system 2023-10-14 19:26:36 -04:00
Pentarctagon
8f74a27b90 update steamrt base image 2023-08-15 12:53:58 -05:00
Pentarctagon
6319401d60 Add new query for MP activity report
This gives a rolling count of how many players have played how many games, which is useful for seeing what player retention for MP is.
2023-08-11 12:24:18 -05:00
Ivo Julca
5ebc9a790a Implement event priority
For any given event name, events execute in order of decreasing priority.

Priority is a real number, and may be assigned via the `priority` attribute for
the WML [event] tag, or through the Lua APIs:

- wesnoth.game_events.add({priority = number})
- wesnoth.game_events.add_repeating(name, action, [priority])

Note that delayed variable substitution is not currently supported in the WML attribute.
2023-08-11 08:34:43 +02:00
Gunter Labes
64f702e96d
Move {join,host}.lua to a better place 2023-08-03 22:06:27 +02:00
Gunter Labes
26394f77e5
Move simulate-lobby-activity.lua next to the script using it 2023-07-20 18:37:05 +02:00
Gunter Labes
dcbecefe9e
Improve script to update pathfinding unit tests 2023-07-18 19:41:42 +02:00
Pentarctagon
96a78bd55b move to utils 2023-07-17 11:21:10 -05:00
dependabot[bot]
094a2eb16a
Bump tough-cookie from 4.0.0 to 4.1.3 in /utils/wesnoth-map-diff
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 21:52:13 +00:00
loonycyborg
fa14ed06a9
make_mingw_build: remove compiled .rc files from working copy dir
they were created there via symlink which confused subsequent builds
leading to issue #7441
2023-06-23 17:19:52 +03:00
Gunter Labes
1fb83c3c7a
Fix setting default TERM value in bash 2023-06-10 01:31:54 +02:00
Gothyoba
4165f99b43
Delete utils/change_textdomain (#7688)
Not sure if this is used anywhere... might break something

Added by Octalot: it was a typo fix, but during the review Soliton and I
decided it was better to just delete it. Reasoning:

* Still expects configure.ac and Makefile.am
* Only knows part of what to do for .lua files
* Could have the entire overwrite function replaced by sed's --in-place option
* Probably easier to just `git grep olddomain` than to update the script
2023-06-03 13:24:42 +02:00
Gunter Labes
370aa403ae
Export TERM so tput actually sees it 2023-06-01 15:48:00 +02:00
Gunter Labes
c013fea7ef
Make non-matching globs expand to nothing
Fixup for 2548e3b.
2023-05-31 20:23:11 +02:00
Gunter Labes
2548e3b680
Avoid word splitting and pathname expansion (ab)use 2023-05-31 19:01:48 +02:00
Gunter Labes
667af05a19
Separate wesnoth independent checks out into their own job 2023-05-31 15:57:40 +02:00
Celtic Minstrel
3ba31d532f Add new schemas to validate fonts.cfg and language.cfg 2023-05-02 21:04:41 -04:00
Celtic Minstrel
b223dcbbdd Minor fix to schema validation script 2023-05-02 21:04:41 -04:00
Celtic Minstrel
69ba3e0273 Make schema validation script validate Lua dialogs in gui/ subdirectories 2023-05-02 21:04:41 -04:00
Celtic Minstrel
3cfe0c338d Minor improvement to the schema validation script 2023-05-02 21:04:41 -04:00
Pentarctagon
c1a18e489b Fix comments. 2023-04-21 12:59:53 -05:00
Pentarctagon
a22da2291b
Store side leader information in the database
Fixes #7267
Add new query for getting leader data.
2023-04-21 13:58:17 +02:00
Gunter Labes
031b4a70e4
Avoid descending into modules dir 2023-04-21 00:15:11 +02:00
Pentarctagon
8e6df8cd1f Fix incorrect query for selecting new clients by download source.
The old query was:
* Selecting data from 2 months ago instead of 1 month ago for some reason, presumably left over from when I was testing the query out for different time periods.
* Counting non-new players who used a new download source as new players.
2023-04-14 22:32:48 -05:00
Eric Gallager
bad664f7e0
Try to fix map diff failure when terrain doesn't have an image associated with it 2023-04-13 10:41:38 +02:00
Elvish_Hunter
e58589e4ce woptipng: ignore thread niceness on Windows
Fixes #7457.
2023-03-17 23:30:39 +01:00
Pentarctagon
9315079389 Add curl-based functionality to download files from a URL.
This is a complement to #7416 where it replaces opening the replay's download URL in a browser with directly downloading it into the player's save folder.
2023-03-15 14:49:16 -05:00
Pentarctagon
3f279ba87b Missed updating the comments a while ago apparently. 2023-03-03 14:31:33 -06:00