Commit Graph

11362 Commits (29d4d530b5078f72fd5d9ce97a305ab3d2b510a6)
 

Author SHA1 Message Date
Myk 29d4d530b5
Merge branch 'develop' into modding-guide 2022-08-27 09:00:53 -07:00
Myk 991654d41e
Merge pull request #2245 from wolfboyft/custom-raw-tokens-docs-modification
Change custom raw token prefix in docs from DFHACK_ to EXAMPLE_MOD_ and explain why
2022-08-27 08:57:47 -07:00
Tachytaenius 0b6178f5d2
Apply suggestions from code review
Co-authored-by: Myk <myk.taylor@gmail.com>
2022-08-27 15:24:22 +01:00
Tachytaenius 155525b853 Update Lua API.rst 2022-08-26 20:33:23 -07:00
Tachytaenius 306822b175 Update changelog.txt 2022-08-26 20:33:23 -07:00
myk002 19c231071b
adapt to new quickfort api 2022-08-26 18:00:24 -07:00
DFHack-Urist via GitHub Actions fcd096ffaf Auto-update submodules
scripts: master
2022-08-27 00:25:50 +00:00
DFHack-Urist via GitHub Actions 4edbded982 Auto-update submodules
scripts: master
2022-08-26 07:23:09 +00:00
DFHack-Urist via GitHub Actions 66924be4ea Auto-update submodules
scripts: master
2022-08-25 07:23:44 +00:00
lethosor ce7bc4cdf4
Update scripts 2022-08-24 19:13:10 -04:00
DFHack-Urist via GitHub Actions 83b2b46d7b Auto-update submodules
scripts: master
2022-08-20 07:17:11 +00:00
myk002 8acda4d6c8
Interpret '4' & '6' as strings, not movement keys 2022-08-19 22:40:53 -07:00
Myk ade8177336
Merge pull request #2267 from myk002/myk_dojobnow
Add alt-N keybinding for do-job-now
2022-08-19 09:42:33 -07:00
Myk 36e9af8c2b
Update data/init/dfhack.keybindings.init
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2022-08-19 09:38:03 -07:00
myk002 d0967b7e59
add alt-N keybinding for do-job-now 2022-08-19 09:34:38 -07:00
DFHack-Urist via GitHub Actions c5ec1726aa Auto-update submodules
scripts: master
2022-08-17 07:17:01 +00:00
Myk 1c0d586d03
Merge pull request #2263 from myk002/myk_hot_launcher
Add keybindings for gui/launcher
2022-08-15 17:01:06 -07:00
myk002 a167dcc72a
update to scripts head 2022-08-15 16:58:33 -07:00
myk002 471be06995 add secondary hotkey for gui/launcher 2022-08-15 16:47:11 -07:00
myk002 cc5d564b42 support backtick as a keybinding
and bind it to gui/launcher
2022-08-15 16:47:11 -07:00
DFHack-Urist via GitHub Actions 945cdece75 Auto-update submodules
scripts: master
2022-08-15 23:47:01 +00:00
Myk 4a83a17c14
Merge pull request #2264 from myk002/myk_helpdb
add helpdb and associated Lua API
2022-08-15 16:44:57 -07:00
myk002 8672282fd8
add helpdb, unit test, and document API
note that we have to dynamically sort some of the expected lists for
locale agnosticism
2022-08-15 16:31:52 -07:00
Myk 859414ac3b
Merge pull request #2262 from myk002/myk_history_repo
Allow lua scripts to access a commandline history without a terminal
2022-08-15 16:29:22 -07:00
myk002 f7a0423566 update changelog 2022-08-15 16:27:43 -07:00
myk002 6fd0f4505f add dfhack history repository and expose to lua 2022-08-15 16:27:43 -07:00
myk002 84cd3f0e6d add getEntries() to the CommandHistory API
so we can export them to lua
also bump the default history size to 5000 from the paltry 100 we had
2022-08-15 16:27:43 -07:00
Myk 5a22cf9490
Merge pull request #2261 from myk002/myk_widget_mousification
widget usability enhancements
2022-08-15 16:27:27 -07:00
myk002 7f0791f6c3 use setText() accessor method instead of direct access 2022-08-15 16:24:34 -07:00
myk002 22f9f3b042 add unit tests for new widget functionality 2022-08-15 16:24:34 -07:00
myk002 7dddb5e2ed document widget mouse integration 2022-08-15 16:24:34 -07:00
myk002 7c3b06d71e update changelog 2022-08-15 16:24:34 -07:00
myk002 0ae4fed3cf add mouse support for CycleHotkeyLabel widgets 2022-08-15 16:24:34 -07:00
pre-commit-ci[bot] aa80f280d3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-08-15 16:24:34 -07:00
myk002 d3abe93a75 clean up Label tests 2022-08-15 16:24:34 -07:00
myk002 79b6cd13e9 support scrolling by half pages in Label 2022-08-15 16:24:34 -07:00
myk002 a5af5a1373 don't bork on no frame, set cursor to end of text 2022-08-15 16:24:34 -07:00
myk002 4e382c7b3b make HotkeyLabels react to clicking
also be better about initializing EditField frame height
2022-08-15 16:24:34 -07:00
myk002 8de8b22566 click to correct cursor position on long strings
where the left side of the string has been trimmed
2022-08-15 16:24:34 -07:00
myk002 b7f74fe2ce allow mouse lclick to select a List item 2022-08-15 16:24:34 -07:00
myk002 1dd3d6656b move the cursor in an EditField on mouse lclick 2022-08-15 16:24:34 -07:00
myk002 0aa9a187cf support cursor movement in EditFields 2022-08-15 16:24:34 -07:00
myk002 43b1abcdcf support submit2 for EditFields 2022-08-15 16:24:34 -07:00
myk002 214dd3c579 reset scroll position when the text is changed 2022-08-15 16:24:34 -07:00
Myk e61d3bf3c7
Merge pull request #2260 from myk002/myk_base_command_counts
add seed values for command usage frequency
2022-08-15 16:24:20 -07:00
myk002 6abec116b5
add seed values for command usage frequency
based on the tool popularity survey responses, with some builtin
commands that could not be represented on the survey boosted so they
appear higher
2022-08-15 16:20:20 -07:00
Myk eef0824cef
Merge pull request #2257 from myk002/myk_class3example
Extend documentation in skeleton plugin, add example plugin structures for class 1, 2, and 3 plugins
2022-08-15 16:18:39 -07:00
myk002 b2a4f10c22 output onupdate log messages by default
but include info on how to make it stop
2022-08-15 16:15:41 -07:00
myk002 f400ee50f8 refine docs, logging, help text 2022-08-15 16:15:41 -07:00
myk002 06f1f533ac build the skeleton in the "all plugins" build 2022-08-15 16:15:41 -07:00