Commit Graph

10899 Commits (3a94758916a8fc96a43be348093558f94ab351b3)
 

Author SHA1 Message Date
lethosor 27ce7cf1ee
check-structures-sanity: print error for untagged unions instead of aborting
These come up in structures such as world.poetic_forms.all[i].subject_target
without a clear fix.
2021-08-31 00:28:42 -04:00
lethosor dc86460238
Fix dashes in changelog 2021-08-31 00:28:04 -04:00
DFHack-Urist via GitHub Actions be07f8b6c5 Auto-update submodules
scripts: master
2021-08-29 07:15:11 +00:00
lethosor e5ca5e48e9
Merge remote-tracking branch 'lethosor/fix-compile-macos-m1-gcc' into develop 2021-08-28 17:05:51 -04:00
lethosor 1d9f12fe3f
Fix signed/unsigned comparison warning
From #1903
2021-08-28 15:15:13 -04:00
lethosor 186eab8ab8
Update xml 2021-08-27 01:03:25 -04:00
DFHack-Urist via GitHub Actions 7d88594c31 Auto-update submodules
scripts: master
2021-08-26 07:15:31 +00:00
myk002 39a8f2c799 migrate existing tests to use expect.str_find() 2021-08-25 06:38:22 -07:00
DFHack-Urist via GitHub Actions 61cdc24e4a Auto-update submodules
library/xml: master
scripts: master
2021-08-25 07:18:36 +00:00
lethosor a2911c5d95
Merge remote-tracking branch 'myk002/myk_expect_find' into develop 2021-08-25 00:40:51 -04:00
myk002 9168f9359d
name test method the same as the method under test 2021-08-24 21:29:32 -07:00
myk002 691e54dfc6
rename expect.find to expect.str_find 2021-08-24 21:06:12 -07:00
myk002 b2f44f00f1
add pattern matching expect.find() for unit tests
settled on `find()` since the string method of the same name has the
same semantics. other options: `str_find()` since it fails on non-string
or `match()` (but that might imply that the pattern needs to match the
entire string).
2021-08-23 22:59:30 -07:00
lethosor 3a27a5d6a0
Allow dialog tests to run outside of fortress mode 2021-08-22 17:45:45 -04:00
lethosor 10db894d99
Merge remote-tracking branch 'myk002/myk_printall_nontable' into develop 2021-08-21 22:51:35 -04:00
lethosor 39c650de13
Fix compilation error on macOS with GCC 11
This should make `-fpermissive` (from #1924) unnecessary, so I also removed
those instructions.
2021-08-21 12:58:17 -04:00
lethosor fb2d453b8b
Merge remote-tracking branch 'chrismdp/apple-m1-docs' into develop 2021-08-21 12:53:57 -04:00
lethosor d4e40b260e
Merge remote-tracking branches 'TymurGubayev/patch-2' and 'TymurGubayev/patch-3' into develop 2021-08-21 11:30:36 -04:00
Timur Kelman ca8d89df5a
alt_getopt.lua: allow `?` as an option
This makes it possible to call `script -?`
2021-08-21 13:39:10 +02:00
Timur Kelman bd423ca47c
argparse.lua: `hasArgument` in a comment refers to `hasArg` everywhere else 2021-08-21 13:27:09 +02:00
DFHack-Urist via GitHub Actions c5509bb76f Auto-update submodules
scripts: master
2021-08-21 07:15:07 +00:00
myk002 86b2329b7f
fix hardcoded call to pairs, add test 2021-08-20 22:55:07 -07:00
DFHack-Urist via GitHub Actions de48ce2818 Auto-update submodules
scripts: master
2021-08-20 13:26:40 +00:00
Alan 2577819e8e
Merge pull request #1925 from myk002/myk_dreamfort_extras
[Dreamfort] add supporting files and documentation
2021-08-20 02:32:33 -04:00
myk002 c0146f3795
make /setup blueprint more robust; redesign apts. 2021-08-19 21:58:26 -07:00
myk002 4046e06056
update changelog 2021-08-19 21:58:26 -07:00
myk002 b748c19fde
update docs to point to packaged files
instead of google drive uploads
2021-08-19 21:58:26 -07:00
myk002 c8d329e334
add documentation for examples files 2021-08-19 21:58:26 -07:00
myk002 e44d496563
add supporting dreamfort files to data/examples
and install them to hack/examples
2021-08-19 21:58:26 -07:00
myk002 119595dcaf
use df.item._identity to test noniterable userdata 2021-08-19 21:57:16 -07:00
myk002 0f0ae156c3
test printall_recurse 2021-08-19 21:57:16 -07:00
myk002 c5bb139282
unit test with userdata 2021-08-19 21:57:16 -07:00
myk002 d9c6c2dde3
add safe_pairs, update unit tests 2021-08-19 21:57:16 -07:00
myk002 6d0f7e40a9
be silent if iteration fails for printall 2021-08-19 21:57:16 -07:00
myk002 51cc8df40c
update changelog 2021-08-19 21:57:14 -07:00
myk002 3f2795e80a
unit tests first draft 2021-08-19 21:56:44 -07:00
myk002 9fc71ef6e1
printall and printall_ipairs handle all iterables 2021-08-19 21:56:43 -07:00
myk002 4606d5742e
ensure printall, ~, and @ behave in lua 5.3.6 2021-08-19 21:56:41 -07:00
Alan 3ae4dbeb21
Merge pull request #1926 from myk002/myk_projectile_vomit
Handle projectiles in Items module functions
2021-08-20 00:21:20 -04:00
myk002 e9eef31344
refactor list item removal into a library fn 2021-08-19 19:51:25 -07:00
Myk 8b824244ac
Update library/modules/Items.cpp
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2021-08-19 19:21:27 -07:00
myk002 06a85d6f0d
handle projectiles in the Items module 2021-08-19 17:44:13 -07:00
myk002 d3fdb5a6e0
update changelog 2021-08-19 17:44:06 -07:00
DFHack-Urist via GitHub Actions 5750bfff9b Auto-update submodules
scripts: master
2021-08-19 07:17:50 +00:00
DFHack-Urist via GitHub Actions 0758f3ea6f Auto-update submodules
scripts: master
2021-08-18 07:15:44 +00:00
DFHack-Urist via GitHub Actions dfd3c966e1 Auto-update submodules
scripts: master
2021-08-17 07:15:21 +00:00
lethosor 6b83a39f52
Merge remote-tracking branch 'myk002/myk_orders_reactions' into develop 2021-08-17 00:26:02 -04:00
Kelly Kinkade 22bcbf9877
Merge branch 'develop' into autofarm-berry-fix 2021-08-16 07:22:11 -05:00
Kelly Kinkade 92f258bdbf
Merge branch 'develop' into tailor-v2 2021-08-16 07:17:53 -05:00
myk002 e1f0e94f0f fix changelog 2021-08-14 21:38:00 -07:00