dfhack/library
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
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include Refactor: move static identity_traits to their own file, simplify field defs 2023-08-02 00:15:26 -04:00
lua Merge remote-tracking branch 'lethosor/fix-global-crash' into develop 2023-08-01 00:22:01 -04:00
modules Refactor: move static identity_traits to their own file, simplify field defs 2023-08-02 00:15:26 -04:00
proto explicitly declare namespaces and proto versions 2022-12-10 18:06:53 -08:00
xml@fc4961f51f Auto-update submodules 2023-08-01 06:33:09 +00:00
.gitignore Use configure_file to optimize incremental builds for git-describe.h 2018-07-13 16:07:46 +03:00
CMakeLists.txt Refactor: move static identity_traits to their own file, simplify field defs 2023-08-02 00:15:26 -04:00
ColorText.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
CompilerWorkAround.cpp Allow unloading plugins that use std::regex 2018-07-03 15:23:46 +03:00
Console-posix.cpp Enable -Wunused-variable and fix most errors 2021-09-07 01:16:21 -04:00
Console-windows.cpp only show the terminal if requested 2023-05-03 14:34:48 -07:00
Core.cpp Fix startup crashes when global addresses are missing 2023-08-01 00:05:02 -04:00
DFHackVersion.cpp format version string in help the same way 2023-04-23 18:20:50 -07:00
DataDefs.cpp don't leak warning suppression out of protobuf 2023-06-25 17:53:16 -07:00
DataIdentity.cpp Refactor: move static identity_traits to their own file, simplify field defs 2023-08-02 00:15:26 -04:00
DataStatics.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
Debug.cpp remove need to ignore warnings for dfhack-dependent targets 2023-06-25 17:44:06 -07:00
Error.cpp Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Hooks.cpp get things mostly ported to SDL2 2023-06-23 14:31:12 -07:00
LuaApi.cpp update dwarfvet 2023-07-21 04:12:56 -07:00
LuaTools.cpp Fix startup crashes when global addresses are missing 2023-08-01 00:05:02 -04:00
LuaTypes.cpp tagged union support for lua (#1818) 2021-03-30 15:55:06 -05:00
LuaWrapper.cpp tagged union support for lua (#1818) 2021-03-30 15:55:06 -05:00
MiscUtils.cpp move clipboard wrappers into DFSDL module (but not in the namespace) 2023-07-05 12:08:18 -07:00
MiscUtils.test.cpp Update library/MiscUtils.test.cpp 2022-11-29 15:05:04 -08:00
PlugLoad-posix.cpp Support dlsym loading from libgraphics vtables 2018-07-10 17:08:23 +03:00
PlugLoad-windows.cpp prep for Quietust's structure updates 2023-01-01 01:03:42 -08:00
PluginManager.cpp turn down Ruby support 2023-01-09 23:59:55 -08:00
PluginStatics.cpp move xlsxreader identity statics to dfhack lib 2020-08-11 14:51:17 -07:00
Process-darwin.cpp Fix some warnings on macOS 2021-09-07 11:58:44 -04:00
Process-linux.cpp Enable -Wunused-variable and fix most errors 2021-09-07 01:16:21 -04:00
Process-windows.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
RemoteClient.cpp fix crash on malformed json (again) 2023-05-16 11:26:47 -07:00
RemoteServer.cpp fix crash on malformed json (again) 2023-05-16 11:26:47 -07:00
RemoteTools.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
TileTypes.cpp Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Types.cpp update structures 2020-03-02 23:12:03 -06:00
VTableInterpose.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
VersionInfoFactory.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp allow dfhack-run to output colors. 2020-03-06 15:02:03 -06:00
git-describe.cmake.in git-describe: fail earlier if git fails to run or doesn't exist (#2061) 2022-03-30 14:49:18 -07:00
main.test.cpp move tests into the same dir as the main files 2022-11-28 17:31:10 -08:00