Commit Graph

12854 Commits (bf2dcc0070eb5e867f7168a2bffd863c93a5045c)
 

Author SHA1 Message Date
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
myk002 23ced99131 fix call to new functions in existing coord fn 2022-08-15 16:15:41 -07:00
myk002 a28cf6d444 remove all lua integration from the examples 2022-08-15 16:15:41 -07:00
myk002 a4c8535977 add argparse int checking methods, more docs 2022-08-15 16:15:41 -07:00
myk002 43dfd27bb4 create several use-case-focused plugin examples 2022-08-15 16:15:41 -07:00
myk002 0bbbacf161 extend the docs and examples in skeleton.cpp 2022-08-15 16:15:41 -07:00
myk002 2f9021a3a0 move examples to the examples folder 2022-08-15 16:15:41 -07:00
Myk 7a903c8322
Merge pull request #2254 from myk002/myk_seedwatch_all
modify seedwatch all to actually watch all seeds
2022-08-15 16:15:13 -07:00
myk002 9f648d532e modify seedwatch all to actually watch all seeds 2022-08-15 16:11:13 -07:00
lethosor 340b524348
Invoke build.py with cmake-found python
In the Buildmaster GCC 4.8 image, `/usr/bin/env python3` appears to find the
system Python (3.4) as opposed to the newer Python (3.6) we install separately.
2022-08-15 17:49:44 -04:00
myk002 488fd67742
output version of found sphinx and python 2022-08-14 23:01:20 -07:00
DFHack-Urist via GitHub Actions 09401ac370 Auto-update submodules
scripts: master
2022-08-14 07:16:48 +00:00
myk002 f1f207b45b
don't include rst sources in html output 2022-08-13 21:51:36 -07:00
myk002 47dc8c6c11
update scripts reference 2022-08-13 21:23:26 -07:00
myk002 2a3a812b3c
update tag reference in Core.rst 2022-08-13 21:21:48 -07:00
myk002 eb91feff7c
revise tag list and assignments 2022-08-13 21:17:24 -07:00
Myk f6699c0014
Sync tags descriptions from spreadsheet 2022-08-13 13:40:14 -07:00
Myk c5afca1d18
Merge branch 'develop' into docs 2022-08-13 13:35:20 -07:00
Myk b21fc8aa75
remove extra space at bottom of tool summary 2022-08-13 13:32:45 -07:00
DFHack-Urist via GitHub Actions a01114a41b Auto-update submodules
scripts: master
2022-08-13 07:17:18 +00:00
myk002 f9930b313a
migrate all docs to the new directives
add a summary option for tools and commands so we can output them with
their tags and keybindings at the top of the file.
2022-08-09 22:37:24 -07:00
lethosor 4f799a152a
Merge branch 'docs-sphinx-tool-directive' into docs 2022-08-09 11:36:11 -04:00
lethosor 2d60c543fd
Remove "Tool:" line 2022-08-08 21:22:55 -04:00