Commit Graph

2358 Commits (30e6c44769eaec22d1be6cf4f6d28e1bba2d3783)

Author SHA1 Message Date
Myk e81a45a742
Merge pull request #2952 from myk002/myk_keep_focus
[Gui] don't prefix focus strings that are already properly marked
2023-02-26 09:23:42 -08:00
Myk bf64f1d985
Merge pull request #2948 from myk002/myk_interior_frame
Add standard interior frame to gui.lua
2023-02-26 09:23:09 -08:00
Myk Taylor 49331384df
update changelog 2023-02-24 17:24:20 -08:00
Myk Taylor ab4af88c92
update changelog 2023-02-24 17:21:38 -08:00
Myk Taylor 1cacc526e3
allow token.tile to be a function 2023-02-24 17:16:30 -08:00
Myk Taylor 2e53c5bc6d
update changelog 2023-02-24 17:14:27 -08:00
Myk Taylor dafafefe11
update changelog 2023-02-24 17:11:59 -08:00
Myk Taylor 0febce5e8f
add docs 2023-02-24 17:09:11 -08:00
Myk Taylor 472cab846f
move changelog entry to next version 2023-02-24 16:58:17 -08:00
Myk Taylor 30ea58374c
better detection of fire and magma safety 2023-02-24 16:57:44 -08:00
Myk ddd0c7b644
Merge branch 'develop' into channel-safely 2023-02-24 15:54:12 -08:00
Josh Cooper 4813a15b35 Updates changelog 2023-02-24 15:51:23 -08:00
Myk Taylor b8fdc985ec
bump version and changelog to 50.07-alpha2 2023-02-24 15:41:54 -08:00
Myk Taylor 934422264e
remove entries for reverted code from changelog 2023-02-24 12:44:26 -08:00
Myk 2659bf2ed4
Merge pull request #2943 from myk002/myk_autobutcher_deannouncement
[autobutcher] log to console instead of announcements
2023-02-24 10:30:48 -08:00
Myk Taylor be54440177
fix up changelog 2023-02-23 22:33:46 -08:00
Myk Taylor 6dbc22350f
log to console instead of announcements 2023-02-23 22:24:32 -08:00
Myk Taylor 29e0698177
re-mark channel-safely as untested 2023-02-23 21:14:37 -08:00
Myk Taylor b976097ccf
sync spreadsheet to tags 2023-02-23 21:01:58 -08:00
Myk 3fa9babb48
Merge pull request #2911 from kelvie/label-hover
Usability: Show mouse hover on all clickable Labels/Lists
2023-02-22 20:39:02 -08:00
Kelvie Wong 3c24e67a9a Address additional PR comments
on_activate is likely to happen first so we shouldn't need to check the
other.
2023-02-22 17:22:04 -08:00
Myk b516c8753e
Merge branch 'develop' into dig-now 2023-02-21 18:59:30 -08:00
Josh Cooper d18911ca5a
Update changelog.txt 2023-02-21 00:01:15 -08:00
silverflyone 5deac65be1
Merge branch 'DFHack:develop' into develop 2023-02-19 13:39:41 +11:00
silverflyone ab74cf0af3 tombstone combine-drinks and combine-plants 2023-02-19 13:31:33 +11:00
Kelvie Wong d18700c964 Update List docs as well. 2023-02-18 16:15:16 -08:00
Kelvie Wong 697f15224c Address PR comments, and remove BG fill
BG fill eats up a lot of cycles anyway, and there's not a real tangible
benefit in all cases, as it relies on the text label being sized
appropriately (width-wise) to the container, or would otherwise require
padding.
2023-02-18 16:07:40 -08:00
Rob Goodberry 016f4dfae3
Update docs/changelog.txt
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-17 19:15:01 -05:00
Robob27 5244fce469 Fix confirm performance 2023-02-17 18:41:20 -05:00
Kelly Kinkade 6a0ac8b142 update changelog 2023-02-17 13:08:02 -06:00
Kelly Kinkade 7e584df040 misc tailor updates related to adamantine cloth 2023-02-17 12:10:23 -06:00
Kelly Kinkade f437a83dba add changelog 2023-02-16 15:38:18 -06:00
Myk 070e10a75a
Merge pull request #2875 from robob27/tabs-as-widgets
Add Tab/TabBar to widgets
2023-02-16 00:53:13 -08:00
Robob27 bc47a0b2e4 More prescriptive docs attempt 2023-02-16 03:14:05 -05:00
Myk c077343a23
Merge pull request #2904 from robob27/confirm-persist
Persist confirm config
2023-02-16 00:09:32 -08:00
Robob27 5154eb181a Add Tab/TabBar to widgets 2023-02-16 02:51:09 -05:00
silverflyone 648af1c81c Buildings::StockpileIterator operator change added to FIxes. 2023-02-16 15:03:09 +11:00
silverflyone 80972466a4 Revert "Buildings::StockpileIterator operator change added to FIxes."
This reverts commit 8f190247e9.
2023-02-16 15:01:11 +11:00
silverflyone 8f190247e9 Buildings::StockpileIterator operator change added to FIxes. 2023-02-16 14:55:00 +11:00
Robob27 8e577e7469 Persist confirm config 2023-02-15 16:01:17 -05:00
Myk Taylor bc76fd02e2
prevent mouse clicks from bleeding through when a window is dismissed 2023-02-13 17:35:02 -08:00
Kelvie Wong f8d94afb7d Add getSelectedCivZone to dfhack.gui
Mostly helpful for my own automation in my custom lua scripts.

Tested it with barracks, meeting areas, and pastures.
2023-02-13 15:22:33 -08:00
Myk 14e303d2c3
Merge branch 'develop' into myk_zscreen 2023-02-13 13:14:00 -08:00
Myk 9c58b22913
Merge pull request #2894 from myk002/myk_autochop
generate names for nameless burrows; check for nil
2023-02-13 13:13:34 -08:00
Myk fbabe5cdb0
Merge pull request #2898 from myk002/myk_showmood
[showmood] show more understandable units for bars and cloths
2023-02-13 13:13:24 -08:00
Myk Taylor 853859e119
refine ZScreen behavior around pausing, update docs 2023-02-13 09:09:39 -08:00
Myk Taylor 2b3dcee4b0
get strangemood compiling and running 2023-02-13 01:18:45 -08:00
Myk Taylor 68d314c9c0
show more understandable units for bars and cloths 2023-02-13 01:17:57 -08:00
Myk 8dd938c5a6
Merge pull request #2891 from robob27/filteredlist-on-change
Add edit_on_change to FilteredList
2023-02-12 18:41:41 -08:00
Myk Taylor 766738e102
generate names for nameless burrows; check for nil 2023-02-12 15:21:10 -08:00
Rob Goodberry 8d63757eea
Update docs/changelog.txt
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-12 18:01:35 -05:00
Myk 4bc6e1bec0
Merge branch 'develop' into myk_seedwatch 2023-02-12 14:48:40 -08:00
Robob27 7651f6a91e Add edit_on_change to FilteredList 2023-02-12 17:44:19 -05:00
Myk 1b8565544e
Update docs/changelog.txt 2023-02-12 14:28:37 -08:00
Batt Mush 5c457fc96f [issue-2888] autodump now conditionally removes an item's dump flag and
sets forbid flag IFF the item is successfully dumped. Otherwise, the
item's original flags are kept intact. This avoids impacting any tasks
associated with the item.
2023-02-12 15:49:40 -06:00
Myk Taylor 0c989634ab
properly store the id of seed targets in persisted state 2023-02-12 03:19:31 -08:00
Myk 50e9ad93f3
Merge pull request #2869 from robob27/moar-units-checks
Add isGeldable, isMarkedForGelding and isPet
2023-02-12 01:27:37 -08:00
Janeene Beeforth 4b5836b996 Fix for #2871
* Add check for unit->name.nickname field is not an empty string
* Refactor repeated checks for inappropriate and protected units
2023-02-12 16:43:33 +11:00
Robob27 65f38ec75c Add isGeldable, isMarkedForGelding, isPet 2023-02-11 05:44:45 -05:00
Myk Taylor 3756d59919
copy edit overlay dev guide and update examples 2023-02-11 01:20:35 -08:00
lethosor de1a4fb5be
Update changelog 2023-02-10 23:30:35 -05:00
lethosor 9434cd3d64
Fix and detect duplicates in Authors.rst 2023-02-10 15:58:18 -05:00
lethosor ecce87ed50
Update authors (changes since 50.05-alpha0) 2023-02-10 15:29:51 -05:00
Myk Taylor ad78427130
mark autolabor as tested and update scripts 2023-02-10 11:35:34 -08:00
Myk Taylor 5100a7ea40
bump to 50.07-alpha1 2023-02-10 10:26:37 -08:00
lethosor dd925f7838
Un-dev-ify two changes that appear to be new to end-users since 0.47.05-r8 2023-02-10 13:02:14 -05:00
lethosor 588df3eec8
Update stonesense, changelog for dfhack/stonesense#97 2023-02-10 12:57:08 -05:00
Myk Taylor ee10aa9172
sync tags from spreadsheet 2023-02-10 09:51:50 -08:00
Myk Taylor 823e7e37d8
dev-ify changelog 2023-02-10 09:41:20 -08:00
Myk c8b5f66429
Merge branch 'develop' into detect-manual-save 2023-02-10 08:23:02 -08:00
Myk Taylor 13f96b9ac8
increase frequency of nestbox scanning 2023-02-10 08:20:11 -08:00
Robob27 533ccee099 Detect manual save 2023-02-10 02:55:36 -05:00
Myk dad05a9a9a
Merge branch 'develop' into myk_nestboxes_job 2023-02-08 23:21:52 -08:00
lethosor 1fd807fc4d
Mark as dev-only changes: #2848, #2842, #2816, #2792 2023-02-08 22:16:16 -05:00
Myk Taylor a41afb88fc
remove in-progress jobs when protecting fert eggs 2023-02-08 16:37:46 -08:00
Myk 90767b83d2
Merge pull request #2852 from myk002/myk_misery
update misery
2023-02-08 14:22:33 -08:00
Myk Taylor 5c84d18001
update tailor, persist state, use best practices 2023-02-08 14:06:19 -08:00
Myk Taylor 6a04b577b0
update changelog 2023-02-08 14:03:22 -08:00
Myk Taylor 9f76d64e42
update misery; persist state 2023-02-08 14:02:44 -08:00
eamondo2 5a5fcbd134 Add changes to changelog.txt 2023-02-08 15:52:58 -05:00
Myk d74f00f7c2
Merge pull request #2847 from robob27/hotkeylabel-enhancements
Add setLabel/setOnActivate to HotkeyLabel
2023-02-08 12:38:35 -08:00
Myk 44428bc06c
Merge pull request #2844 from cppcooper/channel-safely
Implements plugin: channel-safely v1.2.3
2023-02-08 12:37:41 -08:00
Myk 1787d2435c
Merge branch 'develop' into hotkeylabel-enhancements 2023-02-08 12:37:16 -08:00
Josh Cooper caeb6d2f84 Updates changelog 2023-02-08 12:09:32 -08:00
Myk cfc5226aaf
Merge branch 'develop' into myk_logo 2023-02-08 11:21:37 -08:00
Myk ccf57fd961
Merge pull request #2845 from dawnmist/orders/remove-silver-crossbow-from-military
Remove silver crossbow work-order from library/military
2023-02-08 11:19:47 -08:00
Robob27 b950b56926 Add methods to HotkeyLabel 2023-02-08 13:00:13 -05:00
Robob27 22b31bd7f1 Update changelog 2023-02-08 12:40:37 -05:00
Janeene Beeforth 1f38b294cb Add note in changelog about silver crossbows 2023-02-08 21:24:24 +11:00
Robob27 13440d18a8 Add case_sensitive to FilteredList docs 2023-02-08 03:39:43 -05:00
Myk Taylor 8ee05af6ef
update logo to crisper version provided by TaxiService 2023-02-07 22:55:19 -08:00
Myk c0358d642d
Merge pull request #2833 from myk002/myk_list_recenter
ensure scrollable lists are centered in the visible viewport
2023-02-06 12:57:43 -08:00
Myk Taylor 0b9b258224
ensure scrollable lists are centered in the visible viewport 2023-02-06 12:54:05 -08:00
John Cosker f91555d5e3 Add brackets to indicate optional param 2023-02-06 15:44:50 -05:00
John Cosker 0ed4a1c540 Add documentation to cycle() for new parameter 2023-02-06 15:44:04 -05:00
John Cosker 0769afc961
Merge branch 'develop' into cycle-hotkey-rev 2023-02-06 15:04:57 -05:00
Myk 190b5003c8
Merge branch 'develop' into myk_logo_hide 2023-02-06 09:17:48 -08:00
Myk 041909dfa7
Merge pull request #2822 from myk002/myk_rclick
prevent rclick from bleeding through (again)
2023-02-06 09:17:28 -08:00
Myk 448598e391
Merge pull request #2823 from myk002/myk_hotkey_guards
implement some Gui module hotkey guards
2023-02-06 09:17:18 -08:00
Myk 149d7f7795
Merge branch 'develop' into myk_keybindings 2023-02-06 09:17:02 -08:00
Myk 0fc7341ce7
Merge pull request #2825 from myk002/myk_focus_strings
support focus paths for overlay widgets
2023-02-06 09:16:37 -08:00
John Cosker 4e366790c0 Changelog/documentation for key_back 2023-02-06 09:29:31 -05:00
John Cosker 36b76d709c Update documentation for CycleHotkeyLabel 2023-02-06 08:59:55 -05:00
Myk Taylor e285ee31a4
tweak defaults, load initial races immediately 2023-02-06 03:28:19 -08:00
Myk Taylor bf91ffb1fe
support focus paths for overlay widgets
and migrate existing widgets to use them
2023-02-06 02:37:32 -08:00
Myk Taylor 5747e9f3f0
set up some keybindings that are ready to go
and reinstate autodump-destroy-item
2023-02-06 01:23:52 -08:00
Myk Taylor 9e318842a4
implement some Gui module hotkey guards
and clean up focus string matching logic
2023-02-06 00:58:57 -08:00
Myk Taylor 2ddd23e45d
prevent rclick from bleeding through (again) 2023-02-06 00:57:33 -08:00
Myk Taylor 09e7c14210
hide DFHack logo when it's in the way 2023-02-05 18:27:31 -08:00
Myk Taylor 526d7c1726
allow focus string generation to fall through unfocuses ZScreens 2023-02-05 18:01:46 -08:00
Rob Goodberry a3c03a83ad
Update docs/plugins/confirm.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-05 19:07:35 -05:00
Robob27 23fa38a993 Update confirm docs 2023-02-05 19:04:21 -05:00
Robob27 f7df51587c More focus strings, correct docs 2023-02-05 19:04:21 -05:00
Robob27 e049bfee89 Fixup docs 2023-02-05 19:04:21 -05:00
Robob27 a770a4cae4 WIP 2023-02-05 19:04:21 -05:00
Ryan Williams 8253505e4f
Update changelog.txt 2023-02-05 12:07:54 -08:00
Ryan Williams 35c87dfe11
Update changelog.txt 2023-02-05 12:05:22 -08:00
Myk Taylor 2daf1ceca5
make automelt resistent to morphed building ids
i.e. that no longer refer to valid stockiples, which can happen if the
persisted data is from another game
2023-02-04 12:56:19 -08:00
Myk Taylor 71deeb7a48
bump version to 50.05-alpha3.1 2023-02-03 15:48:09 -08:00
Myk Taylor ce16aef29f
update changelog 2023-02-03 15:27:44 -08:00
Myk Taylor 4a21b0843f
bump to 50.05-alpha3 2023-02-03 14:28:17 -08:00
Myk Taylor 5a4ab977a5
update changelog 2023-02-03 12:53:59 -08:00
Myk Taylor 2316615763
react to double clicks on list items 2023-02-03 00:09:10 -08:00
Myk Taylor 76712a533c
move control panel hotkey again to Ctrl-Shift-E
Ctrl-Shift-S is too close to the macro save hotkey (Ctrl-S) and can
trigger it sometimes if you're not super careful
2023-02-03 00:02:20 -08:00
Myk Taylor bfc27605cc
use Ctrl-Shift-S instead of tilde for gui/control-panel
since ~ conflicts with the :lua shortcut
2023-02-02 21:03:23 -08:00
Myk Taylor aa2339d2aa
add cxxrandom back to the build
and mark channel-safely as tested
2023-02-02 19:42:19 -08:00
Myk 2a8578c4a7
Update docs/plugins/autolabor.rst 2023-02-02 17:15:07 -08:00
Kelly Kinkade 9579f11f35 autolabor: improve docs 2023-02-02 17:09:57 -06:00
Kelly Kinkade c6d63a54c5 update autolabor documentation 2023-02-02 16:18:28 -06:00
Rose 9c8903dfbf
Update docs/plugins/autoclothing.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-02 13:32:44 -08:00
Rose 840f728c66 Merge remote-tracking branch 'DFHack/develop' into Autoclothing
# Conflicts:
#	docs/changelog.txt
2023-02-02 13:14:50 -08:00
Rose 7d304dbaf8 Update autoclothing docs. 2023-02-02 13:08:23 -08:00
Rose ea22a23ab7 Clean up autoclothing for release. 2023-02-02 13:06:14 -08:00
Myk Taylor 7d05a68c60
clean up changelog, update refs 2023-02-02 12:53:20 -08:00
Myk a3f32e66ad
Merge pull request #2775 from myk002/myk_non_defocusable
add defocusable attribute to ZScreen
2023-02-01 17:53:21 -08:00
Myk 1debea59a8
Merge branch 'develop' into myk_non_defocusable 2023-02-01 17:51:04 -08:00
Myk 7fbd95896d
Merge branch 'develop' into myk_pause_forced 2023-02-01 17:50:45 -08:00
Myk 21f93173c3
Merge pull request #2778 from myk002/myk_halfsies
support offset text in graphics mode for pens
2023-02-01 17:50:24 -08:00
Myk c312a88bea
Merge pull request #2773 from myk002/myk_nestboxes
[nestboxes] update and simplify; persist state
2023-02-01 17:50:07 -08:00
Myk 7468170751
Merge pull request #2771 from myk002/myk_seedwatch
update seedwatch
2023-02-01 17:49:57 -08:00
Myk d594bc2c96
Merge pull request #2767 from myk002/myk_unbreak_tile
allow tile in Label tokens to be either pen or id
2023-02-01 17:49:39 -08:00
Myk Taylor 58be8cfd69
support offset text in graphics mode for pens 2023-02-01 17:39:32 -08:00
Myk Taylor 6ae771ecb4
display PAUSE FORCED instead of a pause icon
if the window is forcing the game to pause. the icon looked too
clickable
2023-02-01 14:01:29 -08:00
Myk Taylor 88860f21ec
add defocusable attribute to ZScreen 2023-02-01 08:46:32 -08:00
Myk Taylor fd4b0d7233
update and simplify nestboxes; persist state 2023-02-01 04:58:23 -08:00
Myk Taylor b02405ea97
update changelog 2023-02-01 04:30:45 -08:00
Myk Taylor be40d55e64
update seedwatch 2023-02-01 04:03:28 -08:00
Myk Taylor 0ff7ad0cc4
update tailor docs 2023-01-31 23:55:54 -08:00
Myk Taylor e442e23589
allow tile in Label tokens to be either pen or id 2023-01-31 23:54:27 -08:00
Myk Taylor 69860ce419
update changelog 2023-01-30 14:23:47 -08:00
Myk Taylor 3805925c02
update quickstart guide with control panel info 2023-01-30 14:23:47 -08:00
lethosor 282da701bb
changelog: add #2689, fix a few typos, add a link 2023-01-29 23:58:01 -05:00
Myk 18da23af09
Merge pull request #2755 from ab9rf/autohauler
remove autohauler
2023-01-29 20:04:14 -08:00
Kelly Kinkade 93bfbde8d7 doc updates for removal of autohauler 2023-01-29 21:54:02 -06:00
Myk a0b3656c45
Merge pull request #2737 from johncosker/merge-autoslab
Implement autoslab engraving feature
2023-01-29 19:46:41 -08:00
Kelly Kinkade 40e69bfa3f remove autohauler
autohauler just doesn't make sense in v50
2023-01-29 20:38:39 -06:00
John Cosker f1c173863c Remove trailing whitespace 2023-01-29 21:36:49 -05:00
John Cosker 3f9f785589 Update doc and remove unused enum 2023-01-29 21:34:47 -05:00
Myk Taylor 8774d3191f
sync tags from spreadsheet 2023-01-29 17:59:16 -08:00
Myk 376526d512
Merge branch 'develop' into myk_no_stuck_df_viewscreens 2023-01-29 16:55:52 -08:00
Myk 0f07ac5a30
Merge pull request #2748 from myk002/myk_initial_pause
make initial pause configurable for DFHack windows
2023-01-29 16:54:50 -08:00
Myk Taylor 1c6235633f
add dfhack.units.getCitizens() 2023-01-29 16:28:05 -08:00
John Cosker 26f6820198 Address review comments, hopefully fix linux build 2023-01-29 18:16:26 -05:00
Myk 4e1fc1cdd3
Merge pull request #2731 from gearsix/getplants-fixes
getplants fixes
2023-01-29 10:55:39 -08:00
Myk 549ccfa3c0
Apply suggestions from code review 2023-01-29 10:53:05 -08:00
Myk Taylor 4c455224f9
make initial pause configurable 2023-01-29 00:41:02 -08:00
gearsix 339e742471 Merge branch 'develop' into getplants-fixes 2023-01-28 22:09:30 +00:00
gearsix 21ebd778b1 updated changelog 2023-01-28 22:05:36 +00:00
Myk 2003efc21f
Merge branch 'develop' into myk_no_stuck_df_viewscreens 2023-01-28 12:03:50 -08:00
Myk 99d1ed6828
Merge branch 'develop' into myk_no_inception 2023-01-28 11:58:37 -08:00
Myk 255307890b
Merge pull request #2735 from myk002/myk_resizable
only mark the border corner as resizable if the window is resizable
2023-01-28 11:55:39 -08:00
Myk 5f90756677
Merge pull request #2734 from myk002/myk_tiletypes
Expose tiletype setting from the tiletypes plugin to lua
2023-01-28 11:55:04 -08:00
Myk Taylor 65aa772a5b
update changelog 2023-01-28 08:07:29 -08:00
Myk Taylor 25ff015497
update changelog 2023-01-28 08:04:36 -08:00
John Cosker 37b5be1f35
Implement autoslab engraving feature (#1)
* Initial autoslab implementation
2023-01-27 19:46:56 -05:00
Myk Taylor f47adba3d1
fix underscores-to-dashes 2023-01-27 14:45:56 -08:00
Myk Taylor 18a2827385
only mark the border corner as resizable if the window is resizable 2023-01-27 14:20:21 -08:00
Myk 6408fdf28d
Update docs/about/Removed.rst 2023-01-27 13:58:56 -08:00
Myk Taylor b492d92748
update docs 2023-01-27 13:39:03 -08:00
vallode 8ac1ea1ca5 Add show-unit-syndromes to removed scripts 2023-01-27 19:03:36 +01:00
Myk 2159101b48
Merge pull request #2724 from vallode/spawn-liquids-lua
Remove liquids.png
2023-01-26 19:13:23 -08:00
Myk 0d9b5a0113
Merge pull request #2728 from StormCrow42/fixdocs
Include proper name for library/military_include_artifact_materials
2023-01-26 15:56:56 -08:00
Myk 27663e50a3
Update docs/plugins/orders.rst 2023-01-26 15:55:38 -08:00
Scott Ellis 9c884c6365 Include proper name for library/military_include_artifact_materials 2023-01-26 16:30:53 -06:00
Myk 49e1d9ff1c
Merge pull request #2722 from myk002/myk_overlay_default_enabled
Allow overlay widgets to set their default enabled state
2023-01-26 13:45:07 -08:00
Scott K. Ellis 38706ff02a
Update docs/plugins/orders.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-01-26 15:06:59 -06:00
Scott Ellis de262e610a Fix lint error 2023-01-26 15:05:42 -06:00
Scott K. Ellis 47bad86a6a
Merge branch 'develop' into no-platinum-weapons 2023-01-26 14:57:21 -06:00
Myk Taylor a767a917fa
de-emphasize IRC in our docs 2023-01-26 12:49:22 -08:00
vallode a7b6ddc4da Remove liquids.png 2023-01-26 18:07:04 +01:00
Scott Ellis 54a44e589b Update orders.rst to reflect changes in military.json 2023-01-26 08:15:31 -06:00
Myk Taylor 1a659f89b9
update changelog 2023-01-26 00:55:12 -08:00
Myk Taylor 998a63a979
allow overlay widgets to specify a default enabled state
and make relevant library widgets enabled by default
and remove the default overlay.json config file
2023-01-26 00:53:57 -08:00
Myk c21fb0d9ad
Merge pull request #2715 from kelvie/develop
Add Github Actions build of win64 artifacts, and update compile instructions.
2023-01-24 21:53:04 -08:00
Myk Taylor c5f2588522
fix issues with clicks "falling through" scrollbars 2023-01-24 21:28:25 -08:00
Kelvie Wong cf11280b8b Simplify cross-compile instructions
Now that users don't have to build the image.
2023-01-24 19:55:15 -08:00
Myk 25658592cb
Merge pull request #2472 from cppcooper/channel-safely
Updates Channel safely
2023-01-24 17:05:40 -08:00
Myk 0ad67dc276
Merge branch 'develop' into myk_quickcmd 2023-01-24 11:15:14 -08:00
Myk 83c89cfaa9
Merge pull request #2705 from myk002/myk_zscreen_redux
Implement new ZScreen semantics
2023-01-24 11:14:43 -08:00
Dmitrii Kurkin cbff07dc37
Update orders.rst 2023-01-24 21:55:22 +08:00
Myk Taylor f39eb42889
remove references to pinnable 2023-01-23 19:34:48 -08:00
Myk Taylor 1fa71c0d92
update quickstart guide with new ZScreen semantics 2023-01-23 19:24:37 -08:00
Myk Taylor 8b98ba5042
allow windows to be defocused instead of pinned 2023-01-23 17:40:16 -08:00
Myk Taylor 21ebbad669
add keybinding for gui/quickcmd 2023-01-23 15:40:56 -08:00
Myk Taylor eab08f6430
update tag for automelt 2023-01-23 14:51:48 -08:00
Josh Cooper ae8291b952 Implements plugin: channel-safely v1.2.1
- Removes insta-dig feature (too many problems, rarely worked)
- Fixes a segmentation fault introduced in v1.2
- Improves manage_group readability/nesting
- Improves manage_one readability/nesting

Update docs/plugins/channel-safely.rst

Co-authored-by: Myk <myk002@yahoo.com>

Fixes some formatting consistency
2023-01-23 14:24:23 -08:00
Josh Cooper a4bf266770 Implements plugin: channel-safely v1.2
- Updates rst documentation
  - Adds feature: risk-averse
- Revises ChannelManager::manage_group
  - Now performs analysis of group designations
    - If any designation has fall space, designations are analyzed for accessibility (a weighted score of how many ways it can be accessed)
    - If a designation has no fall space, but cannot be accessed it will be "dig_now"'ed
    - accessibility scores are stored for the management phase
  - Management loop has been extended
    - iff no cave-in candidates exist, then perform simple management (as requested)
    - if candidates do exist, then we must check if our current position is one
      - if the current position is a cave-in candidate it must also be within range (+2) of the least access
        - if the candidate is in range or on the dignow queue, then we activate the designation and modify the dig priority according to distance from least_access
      - if not a candidate, or the other checks failed, then we set the designation to marker mode
2023-01-23 14:24:23 -08:00
Josh Cooper 540faff88f Implements plugin: channel-safely v1.1.2b
- Updates rst documentation
  - Adds troubleshooting section
  - Renames the monitor feature to monitoring
- Adds cave-in helper functions
  - ChannelJobs::has_cavein_conditions()
  - ChannelJobs::possible_cavein()
  - find_dwarf() ~ finds the nearest dwarf or the first one that has a path to a position
- Moves dignow/resurrect to inlines.h
- Improves management of regular dig designations
- Adds df::job* tracking back into ChannelJobs to simplify cancellations
- Updates/improves debug logging
  - Switches unordered structures with ordered in some locations to have ordered debugging information
- Simplifies ChannelManager::manage_group()
- Fixes up ChannelManager::manage_one()
  - the return value is now useful even if unused
2023-01-23 14:24:23 -08:00
Myk 1b02e66284
Merge pull request #2670 from eamondo2/automelt
Initial automelt implementation
2023-01-23 13:48:53 -08:00
Myk Taylor 73dd0b4489
stronger wording for ZScreen guidance 2023-01-23 13:47:00 -08:00
Eamon Bode fc861f1328
Merge branch 'develop' into automelt 2023-01-23 14:20:48 -05:00
Myk d0905a5e16
Merge pull request #2703 from myk002/myk_borders
Add new borders for various use cases
2023-01-23 11:20:28 -08:00
eamondo2 63de2ac9ec Merge branch 'develop' into automelt 2023-01-23 13:35:38 -05:00
Myk Taylor 9aaa55cd7f
add textures and frames for various use cases 2023-01-23 03:58:51 -08:00
Myk Taylor d34238918e
move helpdb from autorefresh to explicit refresh
this greatly speeds up the launch time of `gui/launcher`
2023-01-23 02:30:51 -08:00
Myk Taylor f50cef93b1
update changelog 2023-01-23 02:16:56 -08:00
Myk Taylor a6b3de1afb
support scrolling to the beginning or end in Label 2023-01-23 02:16:07 -08:00
eamondo2 44d8ce2bdc whitespace fix 2023-01-23 01:58:57 -05:00
eamondo2 78c6b3683e Changes as per GH suggestions. Doc updates. 2023-01-23 01:56:33 -05:00
eamondo2 8f7788ec20 Merge branch 'develop' into automelt 2023-01-22 20:32:43 -05:00
Myk f805f5b67e
Merge branch 'develop' into ccompile-script 2023-01-22 17:16:19 -08:00
Myk f2c2fffac5
Merge branch 'develop' into myk_click_logo 2023-01-22 17:10:27 -08:00
Myk ab10b84de4
Merge pull request #2693 from myk002/myk_revert_always_enabled
remove unused always_enabled attribute for overlays
2023-01-22 17:10:04 -08:00
Myk Taylor 0c5514ff2d
update changelog 2023-01-22 15:39:12 -08:00
Myk Taylor b4c49f36e1
document orders overlay 2023-01-22 15:39:05 -08:00
Kelvie Wong fb1ce3fed7 Add changelog. 2023-01-22 11:45:13 -08:00
Kelvie Wong 5a20f775bf Set UIDs properly on run; fix sudo use
This depends on a new entrypoint put inside the docker image, that will
read BUILDER_UID and fix up the users and files.

This also removes "sudo" and allows the entire script to be run with
sudo without messing with the build file permissions.
2023-01-22 11:45:13 -08:00
Kelvie Wong aaaf2d9f22 Add cross-compile script
That will simply generate the win64 artifacts for those of us that run
DF under Proton on Steam for Linux.
2023-01-22 11:45:13 -08:00
eamondo2 96fc53f29d Always with the trailing whitespace 2023-01-22 05:22:43 -05:00
eamondo2 4d876f85b7 Prelim. doc updates. 2023-01-22 05:14:08 -05:00
Myk Taylor b84bce719d
remove unused always_enabled attribute for overlays
it was made for gui/pathable, but that became a ZScreen
this option made me uncomfortable for overlays. it didn't seem like the
right user experience
2023-01-22 01:07:30 -08:00
Myk Taylor 0f433c61a1
update changelog 2023-01-22 00:47:11 -08:00
Myk 273379c564
Merge pull request #2684 from 20k/getBiomeType
getBiomeType naming, docs, expose to lua
2023-01-21 16:54:42 -08:00
Myk Taylor 9a42e39989
fix sample commandline in dreamfort docs 2023-01-21 16:19:29 -08:00
20k 598354d9d4 getbiometype naming, docs 2023-01-21 20:33:40 +00:00
Myk Taylor bb16009f49
bump version to 50.05-alpha2 2023-01-20 17:13:28 -08:00
Myk Taylor a98c4c0ff0
mark autoclothing as tested 2023-01-20 17:07:29 -08:00
Myk 15ba54eea9
Merge pull request #2643 from RosaryMala/Autoclothing
Autoclothing
2023-01-20 14:08:01 -08:00
Myk 064f2834a9
Merge pull request #2669 from ab9rf/5005-alpha2-tailor
tailor: add support for using undyed cloth
2023-01-20 14:06:53 -08:00
Myk 310940e1a2
Merge branch 'develop' into Autoclothing 2023-01-20 14:05:26 -08:00
Rose 8698016b06 Updated docs for Autoclothing 2023-01-20 13:54:18 -08:00
Kelly Kinkade e8f67c7b62 add support for using undyed cloth
also improved debugging messages
2023-01-20 15:21:45 -06:00
Myk Taylor 4183bace4d
update autodump, only commands, add hotkeys 2023-01-20 09:31:44 -08:00
Myk d201cf0182
Merge pull request #2662 from 20k/develop
Zone <-> building interactions
2023-01-20 09:30:52 -08:00
Myk 7b906cbf6f
Update docs/about/Removed.rst
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2023-01-19 16:53:24 -08:00
20k 8b7c8d83b5 remove save fixup
Add notifyCivzoneModified
2023-01-19 21:55:20 +00:00
cjhammel 5982644383
Update Removed.rst
fixed formatting for create-items
2023-01-19 15:32:52 -05:00
Myk Taylor 086ca5bcff
tombstone create-items 2023-01-18 16:15:49 -08:00
Myk Taylor 5b1b0ca867
sync spreadsheet to docs 2023-01-18 16:05:07 -08:00
Kelly Kinkade 1a283eaf47 autofarm: fix repetition in status output
because C++ std::map is not the same as a ruby table
2023-01-18 16:26:16 -06:00
Myk 74d311c00c
Merge pull request #2640 from myk002/myk_orders
restore orders library functionality
2023-01-18 08:27:37 -08:00
Myk Taylor ba8e3c187b
add reference to removed script
ref: DFHack/scripts#531
2023-01-17 23:56:54 -08:00
Myk Taylor acd2256900
restore orders library functionality 2023-01-17 21:26:33 -08:00
Myk Taylor 3958d37684
update changelog and submodules for 50.05-alpha1 2023-01-16 16:56:31 -08:00
Myk Taylor e98271ddc3
document that enableable scripts must also be modules 2023-01-16 13:53:16 -08:00
Myk 95d7db2bb4
Merge pull request #2622 from myk002/myk_datasave
adjust to new directory layouts
2023-01-16 11:05:33 -08:00
Myk Taylor 00cee1c600
fix numbered list 2023-01-16 11:03:51 -08:00
Myk Taylor 6b039aac9d
update Quickstart guide 2023-01-16 00:15:17 -08:00
Myk Taylor a56d62e1dc
update changelog 2023-01-15 23:28:14 -08:00
Myk Taylor 762cd46d14
look for init.d directories in the root instead of raw/ 2023-01-15 23:28:01 -08:00
Myk Taylor 50cc6d965d
update to new save directory structure 2023-01-15 23:13:58 -08:00
Myk Taylor e7a30a9af8
sync tested spreadsheet to docs 2023-01-15 22:23:29 -08:00
Myk Taylor 65ceb565f8
rename dfhack-quickstart-guide -> quickstart-guide 2023-01-15 16:30:55 -08:00
Myk Taylor 20f865eba0
don't reset scroll pos when window is resized or moved 2023-01-15 15:59:09 -08:00
Myk Taylor b855170c64
fix typos in quickstart guide 2023-01-15 13:42:26 -08:00
Myk cfa498266e
Merge pull request #2613 from myk002/myk_quickstart
add quickstart help
2023-01-15 13:40:00 -08:00
Myk Taylor de8815c85c
apply suggestions from the good people on discord 2023-01-15 10:39:06 -08:00
Myk Taylor 22e0f4325c
wording 2023-01-15 00:49:11 -08:00
Myk Taylor ab52d7a4ca
remove extra whitespace 2023-01-14 23:59:01 -08:00
Myk Taylor 121ab059c8
update changelog 2023-01-14 23:58:18 -08:00
Myk Taylor 698c467f6a
add quickstart help 2023-01-14 23:56:30 -08:00
lethosor 6a107ba68b
Update links to compilation docs from remaining pages
Ref #2517
2023-01-15 01:01:48 -05:00
lethosor b0d6f6a3c3
Update Authors.rst
Missing authors since 0.47.05-r5
2023-01-14 21:50:08 -05:00
Myk Taylor 9606f7bf4f
remove ones that don't work, mark as tested those that do 2023-01-14 09:50:17 -08:00
Myk Taylor 7c53d848cd
sync tags from spreadsheet 2023-01-14 01:21:58 -08:00
Myk 977946e5bc
Merge pull request #2603 from myk002/myk_resizingpanel
give more control over the resizing dimensions of ResizingPanels
2023-01-14 01:10:26 -08:00
Myk fc6a8fb00b
Merge pull request #2601 from myk002/myk_dwarfmode
pull the useful bits out of guidm.MenuOverlay and make them available
2023-01-14 01:09:57 -08:00
Myk 5a0dcf6d8e
Merge pull request #2600 from myk002/myk_blueprint
add blueprint back to the build (dig and build phases only)
2023-01-14 01:09:47 -08:00
Myk Taylor 69e5730f77
document dfhack.job.removeJob() 2023-01-14 01:07:36 -08:00
Myk Taylor f19ae16c9d
give more control over the resizing dimensions of ResizingPanels 2023-01-14 01:00:38 -08:00
Myk Taylor b77e896041
update EditField docs 2023-01-13 17:08:25 -08:00
Myk Taylor 21d160c478
terminology change: locked -> pinned 2023-01-13 16:07:27 -08:00
Myk Taylor 40aa753953
fix docs typo 2023-01-13 12:43:49 -08:00
Myk Taylor 8f434bf9a6
add blueprint back to the build (dig and build phases only) 2023-01-13 12:36:16 -08:00
Myk Taylor 99350bdb73
add xlsxreader back to the build 2023-01-13 09:45:33 -08:00
Myk 68e373100b
Merge pull request #2591 from myk002/myk_penn
support foreground and background writing from pens
2023-01-12 21:00:38 -08:00
Myk Taylor ecbbfb635c
mark tools as tested 2023-01-12 17:14:03 -08:00
Myk Taylor 15998f2ebe
add gui.TRANSPARENT_PEN for clearing the UI layer 2023-01-12 12:44:50 -08:00
Myk Taylor 079d5e4178
support foreground and background writing from pens 2023-01-12 12:30:07 -08:00
Myk Taylor 5a040a44cb
add untested tag to plugins 2023-01-10 22:26:12 -08:00
Myk Taylor e25f06f2fe
register new "untested" tag 2023-01-10 22:23:59 -08:00
lethosor 1cf4604e6c
Changelog for #2583 2023-01-10 15:13:49 -05:00
Myk Taylor a56792a533
note that Ruby is deprecated in the changelog script 2023-01-10 00:01:29 -08:00
Myk Taylor 7cf703ef23
turn down Ruby support 2023-01-09 23:59:55 -08:00
Myk c33274ef11
Merge pull request #2575 from myk002/myk_autochop
Update and validate autochop
2023-01-09 23:51:56 -08:00
Myk Taylor d918e2d9d8
fix example init file and related doc 2023-01-09 15:33:04 -08:00
Myk Taylor 2da3510ade
add stonesense to the build (if configured); docs
the `overlay` command option has been removed
2023-01-09 14:59:38 -08:00
Myk Taylor 2877f87d78
implement new autochop 2023-01-08 23:28:06 -08:00
Myk Taylor b3909f61a3
write autochop docs and proposed API 2023-01-08 21:29:42 -08:00
Myk Taylor 72d5760ff6
add CycleHotkeyLabel:setOption() 2023-01-07 01:00:40 -08:00
Myk fe9d1e186e
Merge pull request #2562 from myk002/myk_greenify
allow color options for CycleHotkeyLabel
2023-01-06 19:10:39 -08:00
Myk Taylor 810430f1a2
make windows lockable (can ignore r-click and esc) 2023-01-06 18:48:53 -08:00
Myk Taylor 1f5ae4165f
return self from raise, update docs 2023-01-06 15:43:08 -08:00
Myk Taylor 96f19621c9
update changelog 2023-01-06 15:43:06 -08:00
Myk Taylor fbf895fe0c
document ZScreen (and view:getMouseFramePos()) 2023-01-06 15:42:41 -08:00
Myk Taylor e111a73763
allow color options for CycleHotkeyLabel
and use the option to render `On` in green for ToggleHotkeyLabel
2023-01-06 15:42:27 -08:00
Myk Taylor 1a8f60c03b
implement remaining review comments from #2517 2023-01-06 15:31:50 -08:00
Myk Taylor 91df585bf8
Merge branch 'develop' into myk_docs 2023-01-06 15:22:03 -08:00
Myk 8264415720
Update docs/dev/building/Compile.rst 2023-01-06 15:11:10 -08:00
Myk Taylor 6f46ae672e
add Gui::getDFViewscreen and Lua binding 2023-01-06 12:17:36 -08:00
Amber Brown 79206c92a7 modern windows terminal + powershell is, (un?)fortunately superior to cygwin's, so cut this for simplification 2023-01-06 21:26:57 +11:00
Amber Brown d7495bfdf8 update the install documentation to mention VS2022 properly 2023-01-06 21:26:57 +11:00
Myk b62cfa3699
Merge pull request #2552 from myk002/myk_mouse
Get correct mouse button down behavior in Lua without overwriting enabler fields
2023-01-04 19:39:43 -08:00
Myk 78be3a6463
Merge pull request #2548 from myk002/myk_logo
Display DFHack logo for the hotkeys overlay widget
2023-01-04 19:06:05 -08:00
Myk Taylor 5d04b9c4cb
add Textures module and load DFHack logo
undocumented for now since it's internal. in the future, perhaps this
could morph into a dynamic texture loading facility for tools
2023-01-04 13:30:18 -08:00
Myk Taylor cbcb8b5f88
fix up overlay config and pathable docs 2023-01-04 13:27:03 -08:00
Myk Taylor 021b24fa65
update docs 2023-01-03 14:56:49 -08:00
Myk Taylor b766b72784
update docs for widgets.EditField 2023-01-03 13:06:57 -08:00
Myk f72b3524ae
Merge pull request #2545 from myk002/myk_autobutcher
update autobutcher to work with v50
2023-01-02 20:43:21 -08:00
Myk 35ce361b09
Merge pull request #2542 from myk002/myk_dwarfmode_dims
clear out obsolete area map and menu logic from the Gui module
2023-01-02 20:42:30 -08:00
Myk 9da6bff011
Merge pull request #2540 from myk002/myk_overlay
Make OverlayWidget inherit from Panel and allow overlays to be perma-enabled
2023-01-02 20:41:53 -08:00
Myk Taylor ab5c7708d8
update docs 2023-01-01 16:35:39 -08:00
Myk Taylor 7d5d2d0a9b
clear out obsolete area map and menu logic
in particular, return the correct map dimensions in getDwarfmodeDims()
2022-12-31 22:49:30 -08:00
Myk Taylor 481bbb9df4
update changelog 2022-12-31 21:04:19 -08:00
Myk Taylor c401154393
widgets inherit from Panel and can be perma-enabled 2022-12-31 21:02:00 -08:00
Myk Taylor 5232e2b04e
add dfhack-config/scripts to default script paths 2022-12-30 23:30:11 -08:00
Myk bf995a0968
Merge pull request #2533 from myk002/myk_lua_input
adjust Lua widgets to new input scheme
2022-12-30 22:37:12 -08:00
Myk a7dd14d699
Merge pull request #2535 from myk002/myk_smart_refresh
only do a full refresh when needed
2022-12-30 22:36:42 -08:00
Myk Taylor cb6b595aff
update changelog 2022-12-30 22:35:08 -08:00
Myk Taylor 04f2d555c6
implement context-aware mouse wheel scrolling 2022-12-30 22:35:08 -08:00
Myk Taylor 38b525bdb5
adapt lua library widgets to new keyboard keybindings 2022-12-30 22:35:08 -08:00
Myk Taylor dd0cc087d5
Revert "consolidate full refresh logic in widgets.Panel"
This reverts commit 33787473f0.

I've already found another use case where we need a more general
implementation -- modal dialogs that inherit from FramedScreen that
appear and disappear
2022-12-30 22:13:53 -08:00
Myk Taylor 33787473f0
consolidate full refresh logic in widgets.Panel 2022-12-30 20:44:15 -08:00
Myk Taylor 70a0f4a718
only do a full refresh when needed
this significantly reduces CPU utilization when DFHack-owned screens are
visible.
2022-12-30 17:06:41 -08:00
Myk Taylor 4c2842a854
update docs 2022-12-30 05:33:17 -08:00
Myk Taylor d7b67e9528
remove cached USE_GRAPHICS from gui.lua
it's no longer constant
2022-12-28 16:27:44 -08:00
Myk Taylor fc523f12fe
expose and document dfhack.screen.getMousePixels() 2022-12-28 16:05:27 -08:00
Josh Cooper 7433cb463d more stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 1993291a87 stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 994cb30f4d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:12 -08:00
Josh Cooper e57ef4315d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:01 -08:00
Josh Cooper 6baac10262
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:48 -08:00
Josh Cooper 3fb249bc2a
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:32 -08:00
Josh Cooper 430917ce5d
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:15 -08:00
Josh Cooper 98badfbd72 possibly the last expected changes 2022-12-23 15:22:24 -04:00
Josh Cooper 77b6dd2f7a Updates minor things 2022-12-23 12:58:43 -04:00
Josh Cooper 66f8a0207c Updates dependency doc 2022-12-23 01:05:31 -04:00
Josh Cooper a9467f76ef Fixing links, mostly 2022-12-23 00:43:10 -04:00
Josh Cooper c0d582c406 more small screen changes 2022-12-21 20:35:40 -04:00
Josh Cooper e60030e85e a small screen commit message about a lot of organization changes 2022-12-21 18:09:37 -04:00