Commit Graph

11238 Commits (4ed15ffcc4032dec4b31def7d02ad8e100c91d5a)
 

Author SHA1 Message Date
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
myk002 55d9b4754d editing pass, remove "Suites" hotkey, add "Cavern" 2021-08-14 21:38:00 -07:00
myk002 fb29bbdc17 break roof down into more stages; add traps 2021-08-14 21:38:00 -07:00
myk002 320286bf69 revise dreamfort according to testing and feedback 2021-08-14 21:38:00 -07:00
myk002 1e2732aee5 update changelog 2021-08-14 21:38:00 -07:00
myk002 f47bab9806
pass comment param to expect calls 2021-08-14 16:43:40 -07:00
myk002 00adb1b720
update changelog 2021-08-14 16:36:09 -07:00
myk002 9a7a692ea8
ensure restored orders start at index 0
so the manager_order_next_id state can be set to #orders
2021-08-14 16:35:41 -07:00
myk002 9ec1488f1b
add unit tests 2021-08-14 16:35:40 -07:00
myk002 98b707d444
ensure active orders are restored after tests 2021-08-14 16:35:40 -07:00
myk002 37a8260c3b
import and export reaction-specific item conditions 2021-08-14 16:35:40 -07:00
myk002 2bd43f6e76
update changelog 2021-08-14 16:35:34 -07:00