Commit Graph

11271 Commits (a01114a41bbe6cb19edb88bcd566c32dbecd2f62)
 

Author SHA1 Message Date
lethosor cded10fa54
Merge remote-tracking branch 'lethosor/buildmaster-rebuild-script' into develop 2022-03-31 18:04:40 -04:00
lethosor aa7067e779
Merge remote-tracking branch 'Moth-Tolias/scriptpath-doc' into develop 2022-03-31 17:30:03 -04:00
lethosor 86f2f3404e
Add workflow to re-run Buildmaster builds 2022-03-31 17:09:51 -04:00
lethosor f44478f7dc
Add script to rebuild PRs on Buildmaster 2022-03-31 16:51:42 -04:00
Su 7653c2a932 document that script-paths.txt is only read at startup 2022-03-31 21:20:54 +01:00
DFHack-Urist via GitHub Actions 8b09e9bbf9 Auto-update submodules
library/xml: master
2022-03-31 07:17:20 +00:00
Tim Siegel b5af004194
[manipulator] Tweak colors to make cursor easier to locate (#2051) 2022-03-30 23:39:20 -07:00
Alan ec0941da2f
git-describe: fail earlier if git fails to run or doesn't exist (#2061)
In cases where the cached `GIT_EXECUTABLE` does not exist, `git-describe.cmake`
would fail silently, resulting in a `git-describe.h` with missing definitions
that caused `DFHackVersion.cpp` to fail to compile.

This change produces a more descriptive error earlier in the build process.
2022-03-30 14:49:18 -07:00
Alan 4d5a157f4b
Bump max GCC in GitHub Actions build matrix to 11 (#2062) 2022-03-30 14:48:21 -07:00
Myk 257e7a3dfd
[core] Debug logging facelift (#2060)
* route 'Loading script...' messages through the debug logging framework
  * they are now controllable via debugfilter. to turn off, add this to your dfhack.init file: debugfilter set Warning core script
* clarify debug logging docs
* prevent DEBUG messages from being compiled out of the binary
* recolor INFO messages so they blend into existing console output
* add configuration interface for log message header elements so they are individually configurable. all default to off
2022-03-30 14:46:09 -07:00
myk002 e286b2a54d
update changelog 2022-03-30 14:42:37 -07:00
Myk 2df6980237
fix crash in eventful due to misaligned fn map (#2059)
also add warnings in eventful and EventManager to prompt devs to keep them in sync
2022-03-29 12:51:21 -07:00
Josh Cooper 69ca0d8a28
Improves support for dfhack as a sub-project (#2058)
Replaces CMAKE_SOURCE_DIR with dfhack_SOURCE_DIR so it can be included in other cmake projects that have a different top-level CMAKE_SOURCE_DIR
2022-03-29 10:28:52 -07:00
Josh Cooper b18eff9ce2
Revert EventManager to previous behavior, but keep new events
Fixes #2031
2022-03-29 09:42:24 -07:00
DFHack-Urist via GitHub Actions b1dafe3a6a Auto-update submodules
scripts: master
2022-03-29 07:19:23 +00:00
myk002 db5e7d55c1 fix guidm.enterSidebarMode(DesignateMine)
it would end up in DesignateChopTrees if you happened to be looking at
the surface z-level.
2022-03-28 16:57:24 -07:00
myk002 078e732a42 update changelog 2022-03-28 16:00:29 -07:00
myk002 1976288efb quickfort user guide doc refresh
- add docs for negative expansion syntax
- add information on how negative expansion syntax can be used to
  simplify carved track designations
- full editing pass, fixing grammar, typos, formatting, and clarifying text
- added tip about using dig priorities to ensure miners dig one level at
  a time
- add "Dreamfort organization and packaging" section to the dreamfort
  case study
- add inline screenshots for each dreamfort level in the section that
  discusses that level
- fix Links section to use the actual header text of the target links
2022-03-28 16:00:29 -07:00
myk002 8b0928e636 add functional tests for building transformations 2022-03-28 16:00:29 -07:00
myk002 f37de835da center uncentered image in blueprint library guide 2022-03-28 16:00:29 -07:00
myk002 0664524249 update dreamfort blueprints
- update help text
- add statues to corridors on services level
- add optional default furnishings to the guildhall level and update help
- center statue lines in apartment level corridors
2022-03-28 16:00:29 -07:00
myk002 11d5b3f86e update help text for the aquifer_tap blueprint 2022-03-28 16:00:29 -07:00
DwarvenM acbfe500ab
Typo Fix in dig.cpp (#2053)
vdig -> digv
2022-03-27 16:54:01 -07:00
DFHack-Urist via GitHub Actions bbea31db34 Auto-update submodules
library/xml: master
2022-03-26 07:16:35 +00:00
DFHack-Urist via GitHub Actions 9224e5f889 Auto-update submodules
scripts: master
2022-03-24 07:16:53 +00:00
Tim Siegel ab54cbff7a
[confirm] Fix typo in help message (#2046) 2022-03-23 19:45:13 -07:00
Myk 17b16d8536
[quickfort] add functional tests for transformed expansion syntax (#2042)
* functional tests for transformed expansion syntax
* test negative extents for tracks
* update scripts tag
2022-03-21 16:24:51 -07:00
Myk be32e35642
Reword the titles of the various guides (#2041)
so they are more distinct. even I got confused about the difference
between the quickfort library guide (which is about blueprints, but
listing the pre-made onces) and the
quickfort blueprint guide (which is about blueprints, but editing them)
2022-03-21 12:58:17 -07:00
Tachytaenius 19c0a4fe06
Added (chain) for [CHAIN_METAL_TEXT] armours in library/gui/materials.lua used by the gui/create-item script (#2037) 2022-03-19 15:32:16 -07:00
Kelly Kinkade e1961f5fcd
visual studio 2022/2019 build instructions (#2034)
* visual studio 2022/2019

update instructions to recommend using VS 2022 or VS 2019 with downlevel tool support

* reinsert accidentally deleted line

* fix markup

* notes on abi compatibility, changelog
2022-03-17 13:19:12 -07:00
Kelly Kinkade e0ecf21896
autofarm code cleanup (#2033)
* code cleanup on autofarm.cpp

* more code cleanup on aufofarm.cpp

* yet more cleanup of autofarm.cpp

mostly whitespace, some `*` and `&` adjustments

* downgrade autofarm to c++11

apparently the gcc we use doesn't support c++14 generic lambdas

* death to whitespace

apparently visual studio's default whitespace murderer doesn't touch `#define`s. who knew?

* Update autofarm.cpp

const is good
2022-03-16 19:43:24 -07:00
Zishi Wu ce30843b92
update Windows build docs for Visual C++ 2015 (#2032)
* update Windows build docs for Visual C++ 2015

* fixed doc errors / moved changelog entry to future section
2022-03-16 13:10:00 -07:00
Kelly Kinkade 07e96a6a1c Update changelog.txt 2022-03-15 08:23:18 -07:00
Kelly Kinkade d25cd0874a remove check for discovered plants in autofarm
Remove limitation on planting only "discovered" plants in autofarm because there was never any reason for doing so.

Resolves #1988.
2022-03-15 08:23:18 -07:00
Josh Cooper dda487a535
Adds new plugin: Spectate (#1918)
* Adds spectate plugin

* Updates spectate.cpp

* Changes spectate toggle message

* Updates changelog.txt

* Adds spectate to Plugins.rst

* Adds requested changes

- foreach syntax replaces active units loops
- removes CR_FAILURE return on double enable/disable usage
- removes disabled code
- implements a few clion clang tidy suggestions (auto declare when casting)
- Updates zcount to have accurate count for performing RNG
- adds eof newline
- adds todo comment about a redundant if condition

* Declares spectate section in Plugins.rst
2022-03-14 19:33:41 -07:00
Ryan Williams 88b403ec7a
Add functions reverse-engineered from ambushing unit code (#1992)
* Add functions reverse-engineered from ambushing unit code

* Fix whitespace

* Fix debug_showambush check

* Remove getOuterContainerRef from Lua API

Don't think this works properly without allocating a new specific_ref. More trouble that it's worth.

* Fixed tile visibility check

* I don't think gamemode or gametype are ever NULL

* Minor tweaks to documentation

* Reimplement getOuterContainerRef for Lua; fix some comments

* Update Units.cpp and changelog

* Update Units.cpp
* Update changelog.txt
2022-03-13 17:19:35 -07:00
DFHack-Urist via GitHub Actions 8a4ddacff3 Auto-update submodules
library/xml: master
scripts: master
2022-03-13 07:15:55 +00:00
Kelly Kinkade d2d01843a2 Update changelog.txt
update changelog for changes to Job::remove_postings
2022-03-12 15:37:33 -08:00
Kelly Kinkade 3d4c96de56 update Job.cpp to use the DF-provided job cancel method
use DF's provided job cancel function instead of the hackadoo workaround we used to use
2022-03-12 15:37:33 -08:00
myk002 89a3ca8ee9 update docs and changelog 2022-03-12 13:45:32 -08:00
myk002 c5c9e3c56d add mug production to "basic" manager orders 2022-03-12 13:45:32 -08:00
myk002 25d37143e4 update changelog 2022-03-12 13:33:36 -08:00
myk002 e60ef479c6 handle carving fortifications in dig-now 2022-03-12 13:33:36 -08:00
myk002 82910015c1 update changelog 2022-03-12 12:41:19 -08:00
myk002 7c665dcb7a allow search terms to match full item labels
even when the item label is truncated for length
this change also fixes items that were being incorrecty grouped due to
having differences only in the truncated part of their labels
2022-03-12 12:41:19 -08:00
Quietust aa1bc3fe52 Cleanup Kitchen module (and the seedwatch plugin which uses it) 2022-03-12 12:04:34 -08:00
myk002 9f8a477f09
move EventManager changelog entries to 'Future'
ref: #1876
2022-03-12 11:38:43 -08:00
Josh Cooper 28ebc3921d Revises changelog 2022-03-12 11:33:27 -08:00
Josh Cooper 0cb6e18e16 Adds changelog entries for PR #1876 2022-03-12 11:33:27 -08:00
Josh Cooper 3f05859780 Revises manageJobStartedEvent, and adds comments 2022-03-12 11:33:27 -08:00