John Colvin
8cd2bb3d49
fix: Expand undefined vars to empty string
...
Bugs (fixed):
* Md shared memory file names have unexpanded variable: '${BTS_SHARED_MEMORY_PREFIX}'
2024-10-14 15:51:44 +00:00
John Colvin
11afb0ff40
refactor: Move config services to lib_system
...
The proto files are still in lib_spark, w/ the exception of
system_config.proto, since that is a dep of ConfigurationState.
2024-10-14 15:51:44 +00:00
John Colvin
01b0ebe01d
refactor: Move logging into lib_system
...
This is a fundamental part of our application suite, so system seems
like a sensible home.
Also moved a few logging deps (to lib_system):
* bts_chrono.h
* bts_no_copy.h
* defer.h
* dispatcher.h/cpp
* file_utils.h/cpp
* type_name.h
2024-10-14 15:20:47 +00:00
John Colvin
80da994a14
refactor: Move thread_manager to lib_system
2024-10-13 20:42:19 +00:00
John Colvin
bc8ca9afd8
build (linux): Migrate fmt dep to vcpkg (from externals)
...
Now both linux and windows use vcpkg's fmt
2024-10-13 20:41:37 +00:00
John Colvin
ca4e796560
refactor: Move threads.proto to lib_system
2024-10-13 19:38:38 +00:00
John Colvin
32691e8c9c
refactor: Move warn_ctrl.h into lib_system
...
This is another logging dep
2024-10-12 19:54:51 +00:00
John Colvin
0be0501716
build: Link boost_filesystem in lib_system
2024-10-12 19:54:51 +00:00
John Colvin
1e2c361231
refactor: Move os.h/cpp and deps to lib_system
...
This is a prerequisite for the next objective: move logging into its own lib.
As logging is a core dependency for so much of our system, this will enable
us to move more complex services (like md providers) into smaller libs.
2024-10-12 19:54:51 +00:00
John Colvin
dc90f2b79a
cleanup: Remove temporary redirect headers
...
These were used to make code migration smoother (to the new lib_system and lib_domain)
* spark/algorithm/TryCatch.h -> system/algorithm/try_catch.h
* spark/core/BoolName.h -> system/bool_name.h
* spark/core/EnumMacros.h -> system/enum_macros.h
* spark/core/FMT.h -> system/FMT.h
* spark/core/FMT_IMPL.h -> system/FMT_IMPL.h
* spark/core/TimeSpan.h -> system/time_span.h
* spark/core/TimeStamp.h -> system/time_stamp.h
* spark/domain/Price.h -> domain/price.h
* spark/io/JsonReader.h -> system/json/json_reader.h
* spark/io/JsonDumper.h -> system/json/json_dumper.h
2024-10-12 19:54:49 +00:00
John Colvin
b48bfbae79
refactor: Move collections into lib_system
2024-10-12 19:30:05 +00:00
John Colvin
465b293e54
refactor: Move a handful of types/utils to lib_system
2024-10-12 19:30:04 +00:00
John Colvin
f2553695ea
refactor: Move ValueWrapper into lib_system
...
So other projects can use it
2024-10-12 19:30:04 +00:00
John Colvin
a5489e8fc7
feat: Add support for python md plugins
2024-10-12 18:38:36 +00:00
John Colvin
b58be00de0
refactor: Add lib_system proj for common utils
...
Migrates the following:
* Delegate.h
* bts_array_size.h
* string_utils.h
Note: File names in the new lib are snake_case (this seems to be the
standard naming convention for c++).
2024-10-12 18:37:16 +00:00