DFHack-Urist via GitHub Actions
f5d3b9f699
Auto-update submodules
...
library/xml: master
scripts: master
2022-06-02 04:51:00 +00:00
Myk
89d3d45e87
Allow EditField widgets to manage their own activation and keyboard focus ( #2147 )
...
* use new focus subsystem in widgets.EditField
* always eat the enter key if we have an on_submit
* add modal attribute
* give EditFields a default height of 1
so they can be autoarranged
2022-06-01 21:48:21 -07:00
Myk
ad2d9cad03
[lua] implement keyboard focus subsystem ( #2160 )
...
* implement keyboard focus subsystem
* Fix error in focus group combining
* documentation for the inputToSubviews decision
* modify unit tests to catch that last bug
2022-06-01 17:42:13 -07:00
Ryan Williams
bc0def4342
MiscUtils word_wrap: Add option to trim only leading whitespace after wrapping ( #2169 )
...
* Update changelog.txt
2022-05-30 22:58:46 -04:00
Ryan Williams
b1e118384e
Update Maps.cpp
2022-05-30 16:26:30 -07:00
Ryan Williams
574728ac5c
Move add_proper_report up with other utility fns
2022-05-30 15:04:43 -07:00
Ryan Williams
85b828537e
Merge branch 'DFHack:develop' into Bumber64-patch-2
2022-05-30 14:45:45 -07:00
Ryan Williams
0ff0d272b5
use static instead of anon namespace; suggested changes
2022-05-30 13:51:24 -07:00
Ryan Williams
1c3ea000e1
Trim trailing whitespace
2022-05-28 15:56:49 -07:00
Ryan Williams
249ed2888f
Fix scope issue
2022-05-28 13:28:10 -07:00
Ryan Williams
e613085b0e
remove whitespace
2022-05-28 12:39:49 -07:00
Ryan Williams
2b29431806
More fixes
...
* Use word_wrap()
* add_proper_report utility fn; have addCombatReportAuto use this
* Update Lua API.rst
* Update Gui.cpp
2022-05-28 12:35:49 -07:00
DFHack-Urist via GitHub Actions
9d2bb01caf
Auto-update submodules
...
scripts: master
depends/libexpat: dfhack
2022-05-28 07:17:45 +00:00
myk002
ea7fe2b926
account for scroll bars when sizing message boxes
2022-05-27 15:38:13 -07:00
Timur Kelman
07f54deb0b
fix wrong `Label.frame_body.x2` value ( #2134 )
...
* fix wrong `Label.frame_body.x2` value
`update_scroll_inset` might change `frame_inset`, i.e. we need to `computeFrame` with the new values.
* add tests for Label
* add missing `local`, remove code in comments
* move `TestFramedScreen` outside test functions
2022-05-27 15:25:17 -07:00
DFHack-Urist via GitHub Actions
add8aa2386
Auto-update submodules
...
depends/libexpat: dfhack
2022-05-27 07:18:24 +00:00
lethosor
ca10cbc9e6
Merge remote-tracking branch 'lethosor/mock-observe-func' into develop
2022-05-27 01:46:24 -04:00
lethosor
71d003c77d
Ensure that test stack frames in the test file are printed
...
Previously, only frames in the file that called `expect.*()` were printed.
This change allows calling `expect.*()` from functions called by the files
under test. See dfhack/scripts#385 for an example with `expect.fail()`.
2022-05-27 01:03:40 -04:00
lethosor
888c531774
Add mock.observe_func(), improve mock.lua documentation
...
observe_func() is similar to func() but passes through all calls to a specified
function.
2022-05-27 00:33:44 -04:00
Myk
1f58896054
Clarify text and fix typos in the readme
2022-05-25 22:49:09 -07:00
DFHack-Urist via GitHub Actions
56b301164f
Auto-update submodules
...
library/xml: master
scripts: master
2022-05-25 07:18:15 +00:00
Ryan Williams
7d2ecae8b4
Merge branch 'DFHack:develop' into Bumber64-patch-2
2022-05-24 05:34:18 -07:00
Ryan Williams
4b21e7afb4
Remove parseReportString from API (now utility fn)
...
Implementations using `word_wrap()` are commented out pending changes to that function.
2022-05-24 03:52:33 -07:00
Myk
77d045488b
Confirmation dialog for removing manager orders ( #2163 )
2022-05-23 21:17:52 -07:00
DFHack-Urist via GitHub Actions
c4febc789a
Auto-update submodules
...
scripts: master
2022-05-21 07:17:35 +00:00
myk002
81edd716d0
update scripts HEAD with test fixes
2022-05-19 16:36:22 -07:00
Myk
8b1070b553
tombstone deteriorate*rb scripts ( #2157 )
...
* tombstone deteriorate*rb scripts
* update to scripts head so we can build docs
* fix anchors
2022-05-19 15:27:08 -07:00
myk002
18628ff5b8
make key_sep more configurable
...
and add more configuration to HotkeyLabel and EditField to take
advantage of it
2022-05-18 16:46:33 -07:00
myk002
53609db1f9
let CycleHotkeyLabels take numeric initial_options
...
even if all of the option values are non-numeric
2022-05-18 15:39:52 -07:00
DFHack-Urist via GitHub Actions
47b87a5ac1
Auto-update submodules
...
library/xml: master
2022-05-17 07:18:04 +00:00
Ryan Williams
ce34ac8f33
Use debugfilter; remove redundant changelog entries
2022-05-16 18:41:47 -07:00
DFHack-Urist via GitHub Actions
0da881d5eb
Auto-update submodules
...
plugins/isoworld: dfhack
2022-05-15 07:17:46 +00:00
Ryan Williams
785fe9aa3a
fix "info" level described as "error" level
2022-05-14 05:56:57 -07:00
DFHack-Urist via GitHub Actions
dfd3a39f0e
Auto-update submodules
...
scripts: master
2022-05-14 07:23:55 +00:00
myk002
ac8ac96080
fix warning on windows about possible loss of data
2022-05-13 14:37:13 -07:00
myk002
d6df928d69
update changelog
2022-05-13 14:36:49 -07:00
myk002
e4f951b01d
make both easy and lavish meals
2022-05-13 14:36:49 -07:00
myk002
b489a8584f
add more prepared meals logic
...
also remove material matchers for jugs and pots. we only care that we
have enough jugs and pots, not that they are rock
2022-05-13 14:36:49 -07:00
myk002
1b426efdb9
reduce spurious warnings from libzip
2022-05-13 14:36:22 -07:00
Myk
8f6522899b
Upgrade jsoncpp to 1.9.5 ( #2144 )
...
* test jsoncpp upgrade
* use new json library target name
* don't remap the output dirs
* undo warnings at the source
* set new defaults for jsoncpp
* fix typo in new options
* fix signed comparison mismatch warning
* address random(?) compile failures
saying our std::atomic is not initialized in Debug.cpp
2022-05-13 13:52:43 -07:00
DFHack-Urist via GitHub Actions
4d08a49afb
Auto-update submodules
...
plugins/isoworld: dfhack
2022-05-12 05:41:20 +00:00
Myk
b2aa2a9b31
move isoworld to pull from the new dfhack branch
2022-05-11 22:40:33 -07:00
DFHack-Urist via GitHub Actions
08a39400de
Auto-update submodules
...
depends/jsoncpp-sub: dfhack
2022-05-12 05:33:14 +00:00
DFHack-Urist via GitHub Actions
bf8eaef6bc
Auto-update submodules
...
library/xml: master
plugins/isoworld: master
depends/libexpat: dfhack
depends/jsoncpp-sub: dfhack
2022-05-12 05:21:01 +00:00
Myk
a3a0631c41
fix typo in ci/update-submodules.manifest
2022-05-11 22:18:52 -07:00
myk002
2c6e450ac9
update the list of submodules to autoupdate
2022-05-11 22:14:08 -07:00
lethosor
f7a3074204
Merge branch 'fix-script-docs-ext-check' into develop
2022-05-11 13:29:43 -04:00
DFHack-Urist via GitHub Actions
baab258774
Auto-update submodules
...
scripts: master
depends/libzip: dfhack
depends/libexpat: dfhack
depends/xlsxio: dfhack
2022-05-11 07:23:49 +00:00
lethosor
8696f72f77
Fix script-docs.py extension check
...
The check previously matched any filename ending in `lua`, not `.lua`. This
caused failures in my fork because I had a branch ending in `-lua`, which
created a file of that name in `.git/refs` that was not a valid Lua script.
For extra good measure, anything under `.git` is ignored now as well.
2022-05-11 01:06:47 -04:00
myk002
7439678214
tombstone devel/unforbidall script
2022-05-10 15:37:37 -07:00