Commit Graph

15026 Commits (f5084c4054bb0505a26184c950cca7b1cd5c079a)
 

Author SHA1 Message Date
lethosor 5c4175e3c3
Update xml 2023-08-02 22:58:09 -04:00
lethosor 027d69daad
Merge remote-tracking branch 'lethosor/codegen-new-types' into develop 2023-08-02 22:58:00 -04:00
lethosor 8b786b4344
Forward-declare types only used in DataIdentity.cpp 2023-08-02 00:15:27 -04:00
lethosor 2f42745175
Add identity_traits<condition_variable>, add macro for opaque identities 2023-08-02 00:15:27 -04:00
lethosor eb12ff17f6
Refactor: move static identity_traits to their own file, simplify field defs
DataStaticsFields.cpp used to contain identity_traits specializations for
primitive and opaque STL types, as well as macros used for the generated struct
field definitions. Only one of these were actually used in any compilation unit,
and the identity_traits definitions were hidden behind a guard to prevent them
from being compiled at all when building the struct field definitions.

Now, the identity_traits specializations live in their own file,
DataIdentity.cpp (matching their declarations, which live in DataIdentity.h).
This speeds up build times because modifying these specializations no longer
requires rebuilding all of the field definitions unnecessarily.
2023-08-02 00:15:26 -04:00
lethosor d0250ae426
Update allocator_try_assign() to match behavior of fstream allocator for non-copyable types
Looks like the choice we have made here previously is to return NULL if
attempting to allocate types that we cannot allocate.
2023-08-02 00:15:26 -04:00
lethosor 6fbb22e912
Add missing instantion for identity_traits<std::mutex>, refactor code shared with fstream identity 2023-08-02 00:15:26 -04:00
lethosor 7c4d9364a2
Make allocator_fn compile for non-copy-assignable types like std::mutex 2023-08-02 00:15:26 -04:00
lethosor e5bc4b3221
Add identity for std::mutex 2023-08-02 00:15:25 -04:00
Myk Taylor 69986a4bf7
autodeploy to steam on tag 2023-08-01 00:11:46 -07:00
DFHack-Urist via GitHub Actions a299f0b5fb Auto-update submodules
library/xml: master
scripts: master
2023-08-01 06:33:09 +00:00
Myk 876de86066
Merge pull request #3616 from lethosor/check-structures-sanity-fix-string-cxx11
check-structures-sanity: update detection for GCC C++11 std::string
2023-07-31 23:13:31 -07:00
lethosor a3916cdbb6
check-structures-sanity: update detection for GCC C++11 std::string 2023-08-01 01:54:35 -04:00
lethosor 0c6441619f
Re-enable build of check-structures-sanity 2023-08-01 00:59:52 -04:00
lethosor 94dae7a1f1
dts::make_unique -> std::make_unique in unbuilt plugins
Followup to #3537
2023-08-01 00:59:26 -04:00
lethosor e0a9626876
Merge remote-tracking branch 'lethosor/cmake-plugin-flags-devel' into develop 2023-08-01 00:55:46 -04:00
lethosor 199191e9d4
Re-add BUILD_SUPPORTED flag so that devel plugins can be built by themselves 2023-08-01 00:52:22 -04:00
lethosor 031a61a436
Re-enable devel plugins that compile 2023-08-01 00:52:22 -04:00
lethosor 9984dfef6e
Merge remote-tracking branch 'lethosor/fix-linux-plugins-cxx11abi' into develop 2023-08-01 00:51:24 -04:00
lethosor 9f168214dd
Merge remote-tracking branch 'lethosor/fix-textures-cleanup-segfault' into develop 2023-08-01 00:35:19 -04:00
lethosor 73f96209da
Fix mangling of `plugin_globals` with GCC's C++11 ABI
Without being declared with `extern "C"`, `plugin_globals` is mangled, with a
`cxx11` suffix.

We can't add `extern "C"` to the `DFhackDataExport` macro because GCC does not
allow initializing any `extern` variables inline, including `extern "C"`.
2023-08-01 00:33:20 -04:00
lethosor b36bd9b2d6
Merge remote-tracking branch 'origin/pre-commit-ci-update-config' into develop 2023-08-01 00:27:37 -04:00
lethosor 6e54210a66
Merge remote-tracking branch 'lethosor/fix-global-crash' into develop 2023-08-01 00:22:01 -04:00
pre-commit-ci[bot] f44bbe1581
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.23.2 → 0.23.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.23.2...0.23.3)
2023-08-01 04:21:22 +00:00
lethosor e2ca506e23
Fix off-by-one error in Textures::cleanup()
In a ASCII-only configuration, I was seeing `textures.raws.size() == 164` and
`texpos_end == 164`. This resulted in reading one item past the end of the
vector.

This may not be occurring in configurations with graphics enabled, or
Windows/WINE may be more permissive.
2023-08-01 00:13:09 -04:00
lethosor 95753f618c
memscan: check for new Linux executable name 2023-08-01 00:10:46 -04:00
lethosor e55984c529
Fix startup crashes when global addresses are missing
Useful for initial research. Can be tested with `DFHACK_NO_GLOBALS=1`
2023-08-01 00:05:02 -04:00
Myk 53c90affa1
Merge pull request #3602 from plule/feat/suspended-icon
Add a separate icon for jobs suspended by suspendmanager
2023-07-31 17:31:26 -07:00
Myk 17ca9e0132
Update Textures.h 2023-07-31 17:20:38 -07:00
Myk Taylor 67e5aa08d0
fix syntax 2023-07-31 10:13:29 -07:00
Myk Taylor 80d19ec42d
fix paths for steam deploy 2023-07-31 10:07:23 -07:00
Myk Taylor 9b8bd8dbf7
names 2023-07-31 05:37:57 -07:00
Myk 656683e001
Merge pull request #3607 from myk002/myk_runners
reusable and native build action runners
2023-07-31 05:08:35 -07:00
Myk Taylor 9b59fc6440
use the actual tag of the checkout 2023-07-31 04:51:44 -07:00
Myk Taylor 97ea3f3d67
generate release notes changelog text 2023-07-31 04:43:43 -07:00
Myk Taylor cf0b87fbc4
Revert "always build launchdf"
This reverts commit a509bb5e61.
2023-07-31 04:02:12 -07:00
Myk Taylor e3a8009717
initial draft of automated github release 2023-07-31 03:56:26 -07:00
Myk Taylor bbe7dbb0b8
build with gcc 10 by default 2023-07-31 03:56:11 -07:00
Myk Taylor 52a478d1d7
rename steam workflow file 2023-07-31 03:03:25 -07:00
Myk Taylor a509bb5e61
always build launchdf 2023-07-31 03:01:11 -07:00
Myk Taylor 737ff8b3ab
more cache tuning 2023-07-31 02:50:32 -07:00
Myk Taylor 5c664fca1c
reuse workflows for steam 2023-07-31 01:49:02 -07:00
Myk Taylor 1fad6d76f1
split linux package out to simplify matrix 2023-07-31 00:05:47 -07:00
Myk Taylor b6ececed2d
another clcache attempt 2023-07-30 23:50:47 -07:00
Myk Taylor a0fae55c90
fix windows clcache path 2023-07-30 21:39:39 -07:00
Myk Taylor 0364557533
actually use the new windows workflow 2023-07-30 21:04:52 -07:00
Myk Taylor 2bb972ff77
fix home ref 2023-07-30 20:52:07 -07:00
Myk Taylor 872720740a
attempt to get windows build reusable 2023-07-30 20:47:59 -07:00
Myk Taylor 0b2877a538
fixups 2023-07-30 19:53:46 -07:00
Myk Taylor 1faf156bfc
first attempt at a reusable workflow 2023-07-30 19:36:12 -07:00