This commit is contained in:
Tsuki 2024-08-26 20:50:55 +08:00
parent 2aecd72b8a
commit cd1d7023ed
2143 changed files with 765 additions and 8565 deletions

46
Cargo.lock generated
View File

@ -822,7 +822,7 @@ dependencies = [
"lazy_static",
"libadwaita",
"libloading 0.8.5",
"ndarray",
"ndarray 0.15.6",
"npyz",
"num-traits",
"once_cell",
@ -830,6 +830,7 @@ dependencies = [
"proj-sys",
"quadtree_rs",
"quick_cache",
"radarg_data",
"radarg_plugin_interface",
"rayon",
"regex",
@ -1933,11 +1934,12 @@ dependencies = [
"lru",
"nalgebra 0.33.0",
"nalgebra-glm",
"ndarray",
"ndarray 0.15.6",
"nom",
"nom-derive",
"once_cell",
"pathfinder_geometry",
"radarg_data",
"raw-window-handle",
"regex",
"rust-embed",
@ -3302,6 +3304,21 @@ dependencies = [
"rayon",
]
[[package]]
name = "ndarray"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "882ed72dce9365842bf196bdeedf5055305f11fc8c03dee7bb0194a6cad34841"
dependencies = [
"matrixmultiply",
"num-complex 0.4.6",
"num-integer",
"num-traits",
"portable-atomic",
"portable-atomic-util",
"rawpointer",
]
[[package]]
name = "ndk"
version = "0.7.0"
@ -4026,6 +4043,21 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "portable-atomic"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
[[package]]
name = "portable-atomic-util"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcdd8420072e66d54a407b3316991fe946ce3ab1083a7f575b2463866624704d"
dependencies = [
"portable-atomic",
]
[[package]]
name = "powerfmt"
version = "0.2.0"
@ -4256,6 +4288,16 @@ dependencies = [
"proc-macro2 1.0.86",
]
[[package]]
name = "radarg_data"
version = "0.1.0"
dependencies = [
"chrono",
"ndarray 0.16.1",
"radarg_plugin_interface",
"thiserror",
]
[[package]]
name = "radarg_plugin_interface"
version = "0.1.0"

View File

@ -6,4 +6,5 @@ members = [
"geo-macros",
"radar-g",
"gi",
"radarg_data",
]

View File

@ -17,7 +17,7 @@ use parser::{Record, ValueResult};
use radarg_plugin_interface::{
DataLoaderPlugin, DataLoaderPlugin_TO, Error, GridDataInfo, LoadedData, PluginId, PluginMod,
PluginMod_Ref, ProbeDataType, RadarGridData, VecResult,
PluginMod_Ref, PluginType, ProbeDataType, RadarGridData, VecResult,
};
macro_rules! data_rvec {
@ -166,7 +166,7 @@ fn convert_nested_vec_to_rvec<T>(raw: Vec<Vec<T>>) -> RVec<RVec<T>> {
}
#[sabi_extern_fn]
pub fn new(plugin_id: PluginId) -> RResult<dyn DataLoaderPlugin, Error> {
pub fn new(plugin_id: PluginId) -> RResult<PluginType, Error> {
let this = ETWSLoader { id: plugin_id };
ROk(DataLoaderPlugin_TO::from_value(this, TD_Opaque))
}

View File

@ -1 +0,0 @@
{"rustc_fingerprint":7112235087551312656,"outputs":{"16495917692426387086":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/tsuki/.rustup/toolchains/nightly-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"v8.1a\"\ntarget_feature=\"v8.2a\"\ntarget_feature=\"v8.3a\"\ntarget_feature=\"v8.4a\"\ntarget_feature=\"vh\"\ntarget_has_atomic\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"128\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"128\"\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"apple\"\nub_checks\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.80.0-nightly (867900499 2024-05-23)\nbinary: rustc\ncommit-hash: 8679004993f08807289911d9f400f4ac4391d2bc\ncommit-date: 2024-05-23\nhost: aarch64-apple-darwin\nrelease: 1.80.0-nightly\nLLVM version: 18.1.6\n","stderr":""}},"successes":{}}

View File

@ -1,3 +0,0 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"channels\", \"crossbeam-channel\", \"default\", \"serde_json\"]","target":701087079898301699,"profile":16209747773763956088,"path":3483666061643384809,"deps":[[75838619123750943,"const_panic",false,12691611242057761700],[376510933113901675,"generational_arena",false,13937842665477031649],[511886667611543159,"repr_offset",false,16828736502814221855],[2334936782960947306,"lock_api",false,1814916025853382219],[3470807962260834726,"serde",false,2576951082755195512],[4860695056264358199,"libloading",false,5824429438708793824],[6147374319788932929,"serde_json",false,11236813085233191832],[6343765419002388362,"serde_derive",false,9627720618521990881],[7131157336065139194,"parking_lot",false,5851677261104018123],[12155930792469046819,"abi_stable_shared",false,1817612520392020941],[13893895338837028091,"abi_stable_derive",false,8573669010448238979],[15340987198089805406,"paste",false,12489583535308820193],[15600852585069698717,"crossbeam_channel",false,15516608726300844274],[15864077453136584493,"core_extensions",false,3951692198506941310]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/abi_stable-9eb39852acc98e54/dep-lib-abi_stable"}}],"rustflags":[],"metadata":9435643437466700796,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"channels\", \"crossbeam-channel\", \"default\", \"serde_json\"]","target":701087079898301699,"profile":16209747773763956088,"path":3483666061643384809,"deps":[[75838619123750943,"const_panic",false,12691611242057761700],[376510933113901675,"generational_arena",false,13937842665477031649],[511886667611543159,"repr_offset",false,16828736502814221855],[2334936782960947306,"lock_api",false,1814916025853382219],[3470807962260834726,"serde",false,9399666183325579216],[4860695056264358199,"libloading",false,5824429438708793824],[6147374319788932929,"serde_json",false,13097563080143870957],[6343765419002388362,"serde_derive",false,2362000623912333219],[7131157336065139194,"parking_lot",false,5851677261104018123],[12155930792469046819,"abi_stable_shared",false,1817612520392020941],[13893895338837028091,"abi_stable_derive",false,8573669010448238979],[15340987198089805406,"paste",false,12489583535308820193],[15600852585069698717,"crossbeam_channel",false,15516608726300844274],[15864077453136584493,"core_extensions",false,3951692198506941310]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/abi_stable-b1a6858d85dd1136/dep-lib-abi_stable"}}],"rustflags":[],"metadata":9435643437466700796,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":9605427451028622447,"profile":13904479058746662784,"path":1099273460411680649,"deps":[[9618700007800273094,"quote",false,6379146116811555066],[12155930792469046819,"abi_stable_shared",false,11203920157373099594],[13139357714157917144,"as_derive_utils",false,5632803739914540072],[13655734084378430773,"typed_arena",false,7437203902841699976],[15864077453136584493,"core_extensions",false,3709068585806090695],[16285336375947054926,"proc_macro2",false,16188898386888559878],[17143850428905299221,"syn",false,1384463259395083165]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/abi_stable_derive-fde60242f08ff382/dep-lib-abi_stable_derive"}}],"rustflags":[],"metadata":12997815436956875762,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":12698902921255915372,"profile":16209747773763956088,"path":6889060375905054719,"deps":[[15864077453136584493,"core_extensions",false,3709068585806090695]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/abi_stable_shared-7467ad0bb26bb0d7/dep-lib-abi_stable_shared"}}],"rustflags":[],"metadata":12997815436956875762,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":12698902921255915372,"profile":16209747773763956088,"path":6889060375905054719,"deps":[[15864077453136584493,"core_extensions",false,3951692198506941310]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/abi_stable_shared-8268aabae3931dea/dep-lib-abi_stable_shared"}}],"rustflags":[],"metadata":12997815436956875762,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":4568273168033506088,"profile":16209747773763956088,"path":6636319934073535045,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/adler-eda12c9f4b25ced4/dep-lib-adler"}}],"rustflags":[],"metadata":10673633425720882208,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"std\"]","target":18338613112069040866,"profile":16209747773763956088,"path":12467799346501152726,"deps":[[12732307821348191974,"build_script_build",false,13267540570474358888]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anyhow-4471721bd4161c6d/dep-lib-anyhow"}}],"rustflags":[],"metadata":17154292783084528516,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"","target":0,"profile":0,"path":0,"deps":[[12732307821348191974,"build_script_build",false,12627723519205405700]],"local":[{"RerunIfChanged":{"output":"debug/build/anyhow-954605a42df9fdf6/output","paths":["build/probe.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"std\"]","target":2297296889237502566,"profile":13904479058746662784,"path":3351817288307809929,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/anyhow-a70c9949da6a082d/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":17154292783084528516,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":1400909187434544587,"profile":13904479058746662784,"path":6682596017441764228,"deps":[[9618700007800273094,"quote",false,6379146116811555066],[15864077453136584493,"core_extensions",false,3709068585806090695],[16285336375947054926,"proc_macro2",false,16188898386888559878],[17143850428905299221,"syn",false,1384463259395083165]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/as_derive_utils-d41208c8ed09bbf4/dep-lib-as_derive_utils"}}],"rustflags":[],"metadata":7370422634555397116,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":14886237245231788030,"profile":13904479058746662784,"path":14015843474043098663,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/autocfg-12a56df7b7c0b956/dep-lib-autocfg"}}],"rustflags":[],"metadata":13102859075309379048,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"std\"]","target":18335588937564793828,"profile":16209747773763956088,"path":8958115263489412291,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/byteorder-444b7f7a82990a29/dep-lib-byteorder"}}],"rustflags":[],"metadata":5398730104718078656,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":10623512480563079566,"profile":16209747773763956088,"path":17367574703338398341,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cfg-if-f6104691743a3683/dep-lib-cfg-if"}}],"rustflags":[],"metadata":8462187951337715540,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"alloc\", \"android-tzdata\", \"clock\", \"default\", \"iana-time-zone\", \"js-sys\", \"now\", \"oldtime\", \"std\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-targets\"]","target":11745563112108967737,"profile":16209747773763956088,"path":11247779219060438002,"deps":[[11138931377059941435,"num_traits",false,12000539450629646242],[14035281238073165402,"iana_time_zone",false,5697753900861887262]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/chrono-71ba641e27f18940/dep-lib-chrono"}}],"rustflags":[],"metadata":9803565982372010724,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"alloc\", \"android-tzdata\", \"clock\", \"default\", \"iana-time-zone\", \"js-sys\", \"now\", \"oldtime\", \"serde\", \"std\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-targets\"]","target":11745563112108967737,"profile":16209747773763956088,"path":11247779219060438002,"deps":[[3470807962260834726,"serde",false,2576951082755195512],[11138931377059941435,"num_traits",false,12000539450629646242],[14035281238073165402,"iana_time_zone",false,5697753900861887262]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/chrono-c4e48e62783c44d3/dep-lib-chrono"}}],"rustflags":[],"metadata":9803565982372010724,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"alloc\", \"android-tzdata\", \"clock\", \"default\", \"iana-time-zone\", \"js-sys\", \"now\", \"oldtime\", \"serde\", \"std\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-targets\"]","target":11745563112108967737,"profile":16209747773763956088,"path":11247779219060438002,"deps":[[3470807962260834726,"serde",false,9399666183325579216],[11138931377059941435,"num_traits",false,12000539450629646242],[14035281238073165402,"iana_time_zone",false,5697753900861887262]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/chrono-f6a1c6bb5be42a2d/dep-lib-chrono"}}],"rustflags":[],"metadata":9803565982372010724,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[]","target":5894236464472984878,"profile":16209747773763956088,"path":5898848853681656166,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/const_panic-5e4aff3d8b836cc1/dep-lib-const_panic"}}],"rustflags":[],"metadata":16622668056747015544,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"link\"]","target":8020353244595097195,"profile":16209747773763956088,"path":6973137832163423786,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/core-foundation-sys-e40f6c3da6ccd76a/dep-lib-core-foundation-sys"}}],"rustflags":[],"metadata":7246173313922784557,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"alloc\", \"iterators\", \"self_ops\", \"slices\", \"std\", \"type_level_bool\"]","target":18436429881084749908,"profile":13904479058746662784,"path":5901368123383174012,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/core_extensions-434aa31566851167/dep-lib-core_extensions"}}],"rustflags":[],"metadata":3830408521381924977,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"alloc\", \"core_extensions_proc_macros\", \"enable_proc_macro_crate\", \"iterators\", \"macro_utils\", \"self_ops\", \"slices\", \"std\", \"type_asserts\", \"type_identity\", \"type_level_bool\", \"void\"]","target":18436429881084749908,"profile":16209747773763956088,"path":5901368123383174012,"deps":[[2740732257086883650,"core_extensions_proc_macros",false,13895181402411839407]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/core_extensions-841f75e9f60fa115/dep-lib-core_extensions"}}],"rustflags":[],"metadata":3830408521381924977,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"macro_utils\"]","target":4366471891106971943,"profile":13904479058746662784,"path":4206779001807000561,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/core_extensions_proc_macros-48cf22fe30e64472/dep-lib-core_extensions_proc_macros"}}],"rustflags":[],"metadata":7494240123924969357,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"","target":0,"profile":0,"path":0,"deps":[[16212523666406317869,"build_script_build",false,15818357371452694659]],"local":[{"RerunIfChanged":{"output":"debug/build/crc32fast-912e6aaa021e696d/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"std\"]","target":8188216131759486267,"profile":13904479058746662784,"path":14227286011977300793,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/crc32fast-de9bc9254e076c8e/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":1784606463606881981,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

View File

@ -1 +0,0 @@
{"rustc":2034204546556879275,"features":"[\"default\", \"std\"]","target":17983891813589168065,"profile":16209747773763956088,"path":14424657165639737532,"deps":[[2452538001284770427,"cfg_if",false,14706108997089446940],[16212523666406317869,"build_script_build",false,8015554746391510741]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/crc32fast-e4ee765c2d55e364/dep-lib-crc32fast"}}],"rustflags":[],"metadata":1784606463606881981,"config":2202906307356721367,"compile_kind":0}

View File

@ -1 +0,0 @@
This file has an mtime of when this was started.

Some files were not shown because too many files have changed in this diff Show More