Commit Graph

12286 Commits (f863b9807a05d99bc407a7ab7025436d789f8450)
 

Author SHA1 Message Date
myk002 0d970509f8
update changelog 2022-11-07 16:58:51 -08:00
myk002 63a1c1ae15
update lua docs 2022-11-07 16:57:55 -08:00
myk002 32dc80729a
support drawing frames around panels 2022-11-07 16:50:21 -08:00
myk002 351ecbfb59
instrument core keybinding resolution 2022-11-07 16:41:53 -08:00
myk002 f906aee5b8
update changelog 2022-11-07 16:19:09 -08:00
myk002 93bc4c00eb
update lua api docs 2022-11-07 16:19:03 -08:00
myk002 83f560a6f4
allow shift-click to trigger submit2 for List 2022-11-07 16:14:16 -08:00
myk002 1b7b75d8ab
factor out detection of the list index under mouse 2022-11-07 16:13:45 -08:00
myk002 b2b2a52b55
update changelog 2022-11-07 16:00:43 -08:00
myk002 a0ff7e4d3f
update Lua docs 2022-11-07 15:58:29 -08:00
myk002 28aadea6af
allow an alternate ViewRect for getMousePos 2022-11-07 15:54:56 -08:00
myk002 be18f4e900
return self from Screen:show() as a convenience 2022-11-07 15:54:55 -08:00
myk002 5a720bd496
update changelog 2022-11-07 15:40:00 -08:00
myk002 5b9c18fc3c
migrate string fns from uicommon to MiscUtils
and clean up some leaky usings
2022-11-07 15:36:16 -08:00
pre-commit-ci[bot] f7fe53f626
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.18.3 → 0.18.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.18.3...0.18.4)
2022-11-07 21:21:27 +00:00
Josh Cooper 391553624f
Update changelog.txt 2022-11-06 17:34:53 -08:00
Josh Cooper 2197aded30
Fixes segfault 2022-11-06 17:30:28 -08:00
DFHack-Urist via GitHub Actions ba2e71c7be Auto-update submodules
scripts: master
2022-10-29 07:18:00 +00:00
Myk 9c72a5f4ca
Merge pull request #2270 from cppcooper/spectate
Extends spectate plugin
2022-10-26 12:38:52 -07:00
Myk 1e31cc197d
Merge branch 'develop' into spectate 2022-10-26 12:30:58 -07:00
Myk c7f4f57367
Merge pull request #2360 from myk002/myk_automaterial_render
[automaterial] fix render errors with box boundaries
2022-10-26 12:25:48 -07:00
Myk e60cbfc743
Merge pull request #2361 from myk002/myk_zjump_twbt
[mousequery] fix z-level jumps when clicking quickly
2022-10-26 12:25:40 -07:00
Myk 740054b102
Merge pull request #2362 from myk002/myk_mousequery
[automaterial] prevent z-level from changing after box select
2022-10-26 12:25:30 -07:00
Josh Cooper 9dc199dac3
Apply suggestions from code review 2022-10-25 15:01:57 -07:00
Josh Cooper 48e0b53adc
Fixes logical error in new failsafe 2022-10-24 17:59:29 -07:00
Josh Cooper 606f204b82
Apply suggestions from code review 2022-10-24 17:57:14 -07:00
Josh Cooper 754e1dd4ac
Update docs/plugins/spectate.rst 2022-10-24 17:50:21 -07:00
myk002 7b2119c4d1
remove debug statement that doesn't help 2022-10-24 17:03:28 -07:00
myk002 8b61a17009
prevent z-level from changing after box select
if the player clicks the mouse too fast after finishing a selection
2022-10-24 12:46:31 -07:00
myk002 01c46f7a7e
fix z-level jumps when clicking quickly
this happens when TWBT is enabled and multilevel is > 0
getDepthAt() returns inconsistent values for the same position, leading
to a mismatch when we "unshift" the coordinates to account for render
depth
2022-10-24 12:44:25 -07:00
myk002 6a57cc4450
fix render errors with automaterial box boundaries 2022-10-24 12:41:17 -07:00
Josh Cooper 2ca2066081 Fixes underline in spectate.rst 2022-10-23 10:45:23 -07:00
Josh Cooper c611a7615c Merge branch 'develop' into spectate 2022-10-23 10:41:28 -07:00
Josh Cooper c18beb30bb Updates spectate.rst 2022-10-23 10:40:23 -07:00
DFHack-Urist via GitHub Actions 75f929cceb Auto-update submodules
scripts: master
2022-10-23 07:25:20 +00:00
Myk a854e379b2
Merge pull request #2354 from myk002/myk_scrollbars_redux
make scrollbars more responsive when dragging
2022-10-22 20:28:52 -07:00
Myk afaa2beefd
Merge pull request #2355 from myk002/myk_no_material_caps
make the materials dialog filter lcase only
2022-10-22 20:27:33 -07:00
myk002 64b923b9eb
make the materials dialog filter lcase only
this allows the capital letter hotkeys to be processed by the list
widget without the special-casing of the ignore_keys attribute.
2022-10-21 12:43:53 -07:00
myk002 593b80cfa0
make scrollbars more responsive when dragging 2022-10-21 12:22:57 -07:00
Josh Cooper a39d3f20a7 Replaces unsigned integer for freq map's value to ensure reasonable p's 2022-10-21 00:02:42 -07:00
Josh Cooper f0baaff9db Merge remote-tracking branch 'origin/spectate' into spectate 2022-10-20 23:53:20 -07:00
Josh Cooper f66dd6f404 Implements change requests
- removes redundant `if (df::global::ui)` checks; and tested to ensure no segfaults cropped up like in the past times I've removed these
- removes useless `if (pause_lock)` pause lock is set when plugin initializes, even if pause lock was left null (since we technically don't need it, and that was the point of the null check) it still would be a useless check (actually an impediment preventing functionality)
- removes disabled interpose code
- removes lua linkage
- updates doc

extra:
- surrounds user input for tick frequency with `std::abs()` not that we would have ended up with a negative value, but it was probably a typo and this is easier than printing an error or letting it underflow past max int (on most systems)
2022-10-20 23:52:30 -07:00
DFHack-Urist via GitHub Actions 0bf53dc0e4 Auto-update submodules
scripts: master
2022-10-20 07:30:58 +00:00
Myk 103a95bcf1
Merge pull request #2348 from myk002/myk_hack_wish
[gui/create-item] Fix hotkeys getting swallowed by the list filter
2022-10-19 17:39:01 -07:00
myk002 1e21e6546e
fix materials selection dialog
where the filter was swallowing the sublist hotkeys
2022-10-19 17:31:28 -07:00
myk002 142b45ef49
move list item hotkey hint left by one tile
so it doesn't get covered by the scrollbar
2022-10-19 17:30:51 -07:00
Myk 45c1fafa47
Merge pull request #2347 from myk002/myk_tiletypes_priority
[tiletypes] don't overwrite dig priority by accident
2022-10-19 16:55:04 -07:00
myk002 666edd6d60
don't overwrite dig priority by accident
many callers of setDesignationAt simply didn't bother with the priority
parameter. change the default value of the priority param so that by
default we will keep the previous value instead of overwriting it
2022-10-19 16:47:54 -07:00
myk002 f94cc3fda0
add backtick to keybinding's hardcoded docs 2022-10-19 16:24:21 -07:00
Myk 2531efbb8e
Merge pull request #2346 from myk002/myk_keyboard_hotkey
[gui/cp437-table] add global keybinding for the on-screen keyboard
2022-10-19 14:09:00 -07:00