Commit Graph

14648 Commits (8b5321fe8614646724462baf9ba156e390a4c383)
 

Author SHA1 Message Date
David Li 8b5321fe86 Add option to force-fetch world blocks in RemoteFortressReader
The current behavior of GetBlockList in the RemoteFortressReader
  Protobuf RPC API is to only return blocks that have changed since
  the last fetch. This causes problems when the RPC client (i.e. a
  world renderer) wants to restart, as it can no longer fetch the
  full world state.

  This patch adds a `force_reload` option to BlockRequest, defaulting
  to `false` (the current behavior). When passed, it returns all
  requested blocks regardless of whether they have changed or not.

Signed-off-by: David Li <jiawei.davidli@gmail.com>
2023-08-07 19:17:04 -07:00
DFHack-Urist via GitHub Actions a7129cad04 Auto-update submodules
library/xml: master
scripts: master
2023-08-06 07:12:09 +00:00
Myk 57f4989b9d
Merge pull request #3640 from myk002/myk_workflow
make the workflows repository agnostic
2023-08-05 23:41:10 -07:00
Myk Taylor 996688c4ae
make the workflows repository agnostic 2023-08-05 23:25:10 -07:00
lethosor 4087a9f303
Merge remote-tracking branch 'lethosor/css-skip-temp-save' into develop 2023-08-06 00:22:49 -04:00
lethosor 8dc13b8b25
check-structures-sanity: also skip temp_save vectors 2023-08-05 23:46:07 -04:00
lethosor 0abdf0148f
Merge branch 'develop' of DFHack/dfhack into develop 2023-08-05 17:03:29 -04:00
lethosor d152e86013
check-structures-sanity: Set debugger-friendly compiler options 2023-08-05 17:03:18 -04:00
Myk 6bc7d9dae0
Merge pull request #3635 from myk002/myk_package
factor out release package logic
2023-08-05 01:18:56 -07:00
Myk Taylor 6357aa2419
factor out release package logic 2023-08-05 01:05:27 -07:00
Myk Taylor 9552d145b6
clean up steam deployment code 2023-08-05 00:56:16 -07:00
Myk 708f2ef304
Merge pull request #3634 from myk002/myk_moar_tests
enable more tests
2023-08-05 00:12:33 -07:00
DFHack-Urist via GitHub Actions 5e1854edae Auto-update submodules
library/xml: master
scripts: master
2023-08-05 07:11:36 +00:00
Myk Taylor 7981624792
don't build html docs unless we have to 2023-08-04 23:59:04 -07:00
Myk Taylor c323576c1e
build docs for tests so the harness can identify unavailables 2023-08-04 23:31:01 -07:00
Myk Taylor 3358a2b516
enable more tests 2023-08-04 20:40:33 -07:00
DFHack-Urist via GitHub Actions 1864090bda Auto-update submodules
library/xml: master
scripts: master
2023-08-05 02:56:08 +00:00
Myk 3c86b21812
Merge pull request #3633 from ab9rf/future-type-support
DataIdentity support for `std::future<void>`
2023-08-04 19:01:03 -07:00
Kelly Kinkade ba0df78233 DataIdentity support for `std::future<void>` 2023-08-04 20:00:29 -05:00
Myk 9bf00904eb
Merge pull request #3632 from myk002/myk_xml
allow the reusable workflows to build xml-dump-type-sizes
2023-08-04 17:09:29 -07:00
Myk Taylor c5ad5d0913
allow the reusable workflows to build xml-dump-type-sizes 2023-08-04 16:56:06 -07:00
Myk Taylor 0ef1a475e4
allow code to be generated even when the library isn't being built 2023-08-04 16:43:58 -07:00
Myk 98e0ce19fd
Merge pull request #3631 from lethosor/lua-new-catch-alloc-errors
df.new(): catch errors thrown by allocate()
2023-08-04 14:39:02 -07:00
lethosor 47b4773786
df.new(): catch errors thrown by allocate()
This can include DFHack::Error::VTableMissing exceptions if the vtable of a
member field is unknown.

Fixes #3627
2023-08-04 17:22:20 -04:00
lethosor 7aa6aa317a
targets -> target part 2 2023-08-04 17:09:50 -04:00
Myk 261367cf03
Merge pull request #3630 from myk002/myk_bash
avoid platform-specific steps by using same shell
2023-08-04 13:42:30 -07:00
Myk Taylor 6ff5ab9f39
avoid platform-specific steps by using same shell 2023-08-04 13:31:21 -07:00
DFHack-Urist via GitHub Actions f507bd7e38 Auto-update submodules
library/xml: master
2023-08-04 20:22:58 +00:00
Myk 5d9ecd37df
Merge pull request #3629 from myk002/myk_clean_cache
make clean-cache workflow reusable
2023-08-04 13:07:49 -07:00
Myk Taylor 91afb7ed1b
make clean-cache workflow reusable 2023-08-04 12:57:44 -07:00
Myk 31e579ec5c
Merge pull request #3628 from myk002/myk_warnings_as_errors
treat doc warnings as errors
2023-08-04 12:49:15 -07:00
Myk Taylor 02fae5afd4
treat doc warnings as errors 2023-08-04 12:38:51 -07:00
Myk Taylor 415a2f654b
update stonesense ref 2023-08-04 12:24:04 -07:00
Myk f2a56cc1e2
Merge pull request #3625 from myk002/myk_tests
re-enable unit tests
2023-08-04 12:20:11 -07:00
Myk Taylor d93bf65115
fix typo 2023-08-04 10:25:49 -07:00
Myk Taylor 4c89af7c20
targets -> target 2023-08-04 10:11:28 -07:00
Myk Taylor a6de9a21fa
enable most core tests 2023-08-04 10:11:28 -07:00
Myk Taylor f8dd09200f
enable remaining core and structures tests 2023-08-04 10:11:28 -07:00
DFHack-Urist via GitHub Actions 1cf3f62237 Auto-update submodules
library/xml: master
2023-08-04 17:10:51 +00:00
Myk Taylor 66107b40e3
fix windows build when called from other repos 2023-08-04 10:04:55 -07:00
DFHack-Urist via GitHub Actions 4c2e7721e1 Auto-update submodules
library/xml: master
scripts: master
2023-08-04 07:12:54 +00:00
Myk Taylor 10525aa6ae
fix name of job 2023-08-03 23:53:45 -07:00
Myk 3599403f21
Merge pull request #3622 from myk002/myk_test_test
first attempt to run tests on windows
2023-08-03 23:05:46 -07:00
Myk Taylor d3884bd707
run ./dfhack instead of ./dwarfort on linux so we can see output
since we set the tty params
2023-08-03 22:52:17 -07:00
Myk Taylor e3161b8a4d
enable some core tests 2023-08-03 22:48:43 -07:00
Myk Taylor f28b46922c
put all tests in a matrix 2023-08-03 22:48:23 -07:00
Myk Taylor 081e938301
test RPC interface 2023-08-03 22:48:23 -07:00
Myk Taylor ec461bcce5
zero tests mean pass 2023-08-03 22:48:23 -07:00
Myk Taylor 43a1fdc69c
only run tests for registered and available targets 2023-08-03 22:48:23 -07:00
Myk Taylor 6c4662d12c
set a timeout for the test step 2023-08-03 22:48:23 -07:00