Commit Graph

12569 Commits (e62fa8fe0d28362c807916d3e217182ab8ea343b)
 

Author SHA1 Message Date
lethosor 3b7206777e
spectate: avoid printing or taking action on load when disabled 2022-11-30 20:31:59 -05:00
DFHack-Urist via GitHub Actions d14a3f4970 Auto-update submodules
library/xml: master
scripts: master
2022-12-01 00:57:53 +00:00
Myk 697b727952
Merge pull request #2447 from myk002/myk_doc_fixup
Fix and organize docs
2022-11-30 10:39:50 -08:00
Myk 760fbf7b8f
Merge pull request #2434 from cppcooper/channel-safely
Implements plugin: channel-safely v1.1b
2022-11-30 08:28:08 -08:00
Myk 148a623c03
Merge pull request #2448 from myk002/myk_init_statics
fix crash in buildingplan
2022-11-30 06:58:16 -08:00
Myk Taylor cf24fc7829
ugh unit tests don't work on our OSX build either 2022-11-30 06:57:11 -08:00
Myk Taylor 5d08a0f765
skip unit tests on windows until build env updated
otherwise we get fatal error C1902: Program database manager mismatch; please check your installation

revert this commit once windows is updated
2022-11-30 05:34:39 -08:00
Myk Taylor 5e745e2295
don't install gtest in the DF dir 2022-11-30 05:18:37 -08:00
Myk Taylor 68afe4d88f
only add unix flags on unix 2022-11-30 05:12:01 -08:00
Myk Taylor cf8bcbd424
remove unnecessary warning message 2022-11-30 05:08:53 -08:00
Myk Taylor 8900bc84d8
fix crash in buildingplan
when a player cancels out of placing a building type with plan mode
enabled and then immediately switches to placing a different building
type where plan mode is not enabled, the placement errors array would be
erroneously cleared and allow placement of the building. this would
cause DF to crash if there were no materials available to build the
building with.
2022-11-30 04:51:11 -08:00
Myk Taylor cd69103b8b
update path references, move NEWS files back 2022-11-30 04:16:41 -08:00
Myk Taylor e952957f91
move dev docs into dev dir 2022-11-30 04:01:32 -08:00
Myk Taylor 64ce2559fd
move "about" docs into subdir 2022-11-30 03:46:21 -08:00
Myk Taylor f66a08d3f4
fix numbering of markdown list 2022-11-30 03:25:56 -08:00
Myk 018bf712d5
Merge pull request #2429 from cppcooper/patch-3
Updates Units::isAnimal
2022-11-29 18:43:04 -08:00
Myk 73ded20ffe
Merge pull request #2445 from ab9rf/fix-2444
correct QUERN construct labor
2022-11-29 18:42:18 -08:00
Kelly Kinkade 5e3786a6ce changelog 2022-11-29 19:57:44 -06:00
Kelly Kinkade bc502f8132 correct QUERN construct labor 2022-11-29 18:32:57 -06:00
Myk b7bb0c49e6
Merge pull request #2430 from myk002/myk_overlay_gui_prep
[overlay] prep lua code for usage by gui/overlay
2022-11-29 15:15:48 -08:00
Myk 33d54493f2
fix typo in docs 2022-11-29 15:14:22 -08:00
myk002 4c72bdb5ed add reference to gui/overlay to the overlay docs 2022-11-29 15:12:02 -08:00
myk002 f5d20c99a3 prep for usage by gui/overlay 2022-11-29 15:12:02 -08:00
myk002 9d17be84a8 set width to something representative on init
so if the widget is enabled in gui/overlay without ever being resized with real data,
it won't be truncated
2022-11-29 15:12:02 -08:00
DFHack-Urist via GitHub Actions c866f3f155 Auto-update submodules
scripts: master
2022-11-29 23:10:05 +00:00
Myk 9038c1c568
Merge pull request #2437 from myk002/myk_ctest
Combine unit testing branches and simplify
2022-11-29 15:07:47 -08:00
Myk 04bdce0d40
Merge pull request #2435 from myk002/myk_default_search_key
supply default search key for tokenized text
2022-11-29 15:07:23 -08:00
Myk aac89d4942
Merge branch 'develop' into myk_default_search_key 2022-11-29 15:07:12 -08:00
Myk 5b311163a9
Merge pull request #2431 from myk002/myk_widget_fixes
fix minor errors in ResizablePanel, Label, and HotkeyLabel widgets
2022-11-29 15:06:15 -08:00
Myk 3e0a44d068
Merge pull request #2432 from myk002/myk_no_signature
allow frames to be drawn without the DFHack signature
2022-11-29 15:05:59 -08:00
Myk 757aa303b7
Update library/MiscUtils.test.cpp
Co-authored-by: Josh Cooper <cppcooper@users.noreply.github.com>
2022-11-29 15:05:04 -08:00
Josh Cooper 807894ac6c Updates Units::isAnimal
Now checks that the unit cannot learn or speak, and has either a wilderness population source, a pet/pet_exotic token, or is trainable for war/hunting
2022-11-29 13:19:19 -08:00
myk002 d0a6a3e930
remove unnecessary target modifications 2022-11-28 17:43:55 -08:00
myk002 88074dacf0
move tests into the same dir as the main files 2022-11-28 17:31:10 -08:00
myk002 7fbeb215d7
Merge branch 'myk_unit_testing' into myk_ctest 2022-11-28 17:26:27 -08:00
myk002 f921b02a1b
Merge remote-tracking branch 'cppcooper/unit-testing' into myk_ctest 2022-11-28 17:25:10 -08:00
myk002 a22e3117d3
simplify the github action to just ninja test
since ninja all was just run
2022-11-28 17:22:17 -08:00
myk002 ae035d5836
simplify unit testing setup 2022-11-28 17:16:48 -08:00
Josh Cooper 3999ed5c72 Implements plugin: channel-safely v1.1b 2022-11-28 17:10:55 -08:00
myk002 e4c13114a9
Merge branch 'develop' into myk_unit_testing 2022-11-28 16:36:28 -08:00
myk002 726771c8d3
supply default search key for tokenized text 2022-11-28 16:02:47 -08:00
myk002 23e467deaf
use consistent bounds checking style in hotkeys 2022-11-28 15:50:05 -08:00
myk002 4e7b4dc554
show hotkeys bound to number keys, F11, and F12 2022-11-28 15:37:01 -08:00
myk002 adb9c5ea12
fix frame size calculation when frame_inset is set
also fix error when clicking on HotkeyLabels where no on_activate
callback has been set
2022-11-28 15:12:22 -08:00
myk002 fb6483fe6c
allow frames to be drawn without DFHack signature 2022-11-28 15:04:28 -08:00
Josh Cooper 72ad7a1b01 Adds googletest/include for test targets only 2022-11-25 09:43:04 -08:00
Josh Cooper b11b1c3d5f Updates build.yml & moves TEST variable setup 2022-11-25 09:43:04 -08:00
Josh Cooper d03f93c0d7 Adds a second test stage 2022-11-25 09:43:04 -08:00
Josh Cooper cd7fe8a213 Update .gitmodules
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2022-11-25 09:43:04 -08:00
Josh Cooper a716b2796e Updates test binary name in build.yml 2022-11-25 09:43:04 -08:00