Commit graph

377 commits

Author SHA1 Message Date
Dan Paulat
f34d11a7ea RefreshData clang-tidy fixes
(cherry picked from commit c630c2969929ce46d96fd4f941f054dcc70d1d8b)
2025-09-03 22:39:20 -05:00
Dan Paulat
3fe7dd9eed RefreshData should be run entirely through ProviderManager
- Impl may be destroyed before ProviderManager, leading to a use-after-free condition (lifetime race condition)
- Moving to ProviderManager entirely should let the thread pool join prevent use-after-free

(cherry picked from commit 212cca973f6f5d1462e19a8a3e1cc535e691e552)
2025-09-03 22:17:32 -05:00
Dan Paulat
985473a0a4 Release all mutexes before joining threads in TimelineManager 2025-09-01 10:00:48 -05:00
Dan Paulat
7fbd9e45a9 Release all mutexes before joining threads in RadarProductManager 2025-09-01 09:44:37 -05:00
Dan Paulat
889b6e81be Taking load data mutexes on destruction can cause a deadlock 2025-09-01 01:30:47 -05:00
Dan Paulat
acfb515e10 Filter PopulateProductTimes log entries 2025-08-31 10:32:04 -05:00
Dan Paulat
d6834127db NotAvailable should not hang animation 2025-08-30 23:10:23 -05:00
Dan Paulat
b0c7554f47 Applying product load status to level 2 2025-08-30 22:46:40 -05:00
Dan Paulat
a306fb4363 Add NoUpdateReason of NotAvailable, driven by ProductNotAvailable 2025-08-30 18:24:50 -05:00
Dan Paulat
449d8cb796 A query for the epoch should be treated as time now 2025-08-30 18:21:16 -05:00
Dan Paulat
f4226b487d Initial moving of product listing to the background for level 3 2025-08-30 16:28:19 -05:00
Dan Paulat
ffe1e7efaf Address ImGui clang-tidy comments, store font size as float 2025-08-28 11:18:17 -05:00
Dan Paulat
c82b9753c6 Use dynamically sized ImGui fonts 2025-08-27 23:43:11 -05:00
Dan Paulat
dc96e3e3ad Update ImGui to v1.92.2b 2025-08-27 22:52:25 -05:00
Dan Paulat
bd27d0e562 Update most instances of current time to use a time offset 2025-08-22 23:42:08 -05:00
Dan Paulat
c76c9b57ed Wait for an initial offset prior to proceeding with initialization 2025-08-22 22:28:55 -05:00
Dan Paulat
88d968a533 Run NTP client in the background 2025-08-22 20:08:04 -05:00
Dan Paulat
bbb09f64f0 std::scoped_lock should be const in font_manager.cpp 2025-07-01 20:53:38 -05:00
Dan Paulat
b8a0dae042 Radar product manager clang-tidy cleanup 2025-06-30 23:00:58 -05:00
Dan Paulat
afcca785eb Formatting font_manager.cpp 2025-06-30 22:55:32 -05:00
Dan Paulat
5716d89d52 On macOS, set font pixel size instead of point size to prevent tiny display 2025-06-30 21:42:50 -05:00
Dan Paulat
ec06cc62e1 Don't query for available products when disabling product refresh 2025-06-22 17:50:36 -05:00
Dan Paulat
19e8e51505 boost::irange with sys_days is not portable 2025-06-15 00:03:07 -05:00
Dan Paulat
e86fec8d99 Some parallel loops cannot be vectorized 2025-06-15 00:03:07 -05:00
AdenKoperczak
28ca8df5df
use a random pid instead of 2 to avoid overlap in flatpaks 2025-06-07 12:48:33 -04:00
Dan Paulat
4ed1fda1ae Move media objects to dedicated thread to avoid main thread delays 2025-05-17 19:08:07 -05:00
Dan Paulat
ef7caf5519 RadarProductManager logging level fix 2025-05-16 23:51:12 -05:00
AdenKoperczak
8989c0e88c
Fix issue where level 2 archive files where put in a cache at times of level 2
chunk files
2025-05-10 15:26:34 -04:00
AdenKoperczak
969267b661
Added back logging as traces for level_2_chunks 2025-05-10 09:50:54 -04:00
AdenKoperczak
3d7da7d971
Disable logging for level 2 chunks 2025-05-10 09:50:54 -04:00
AdenKoperczak
781aa40e8c
Make radar data fall back if it ends up being too old 2025-05-10 09:50:53 -04:00
AdenKoperczak
2821eff71f
Fall back to archive if chunks get too old 2025-05-10 09:50:53 -04:00
AdenKoperczak
3288ba30ec
Rework refreshing in RadarProductManager to allow for multiple refreshes at once. 2025-05-10 09:50:53 -04:00
AdenKoperczak
759a9e4379
Parallelize the chunks loading and load from archive when possible 2025-05-10 09:50:53 -04:00
AdenKoperczak
e10ebdeb5e
switch level2 incoming elevation to optional 2025-05-10 09:50:53 -04:00
AdenKoperczak
0f95439b61
Initial clang format/tidy fixes for level_2_chunks 2025-05-10 09:50:52 -04:00
AdenKoperczak
0bda6296c0
Add indicator of what level is currently being updated with level 2 chunks. 2025-05-10 09:50:52 -04:00
AdenKoperczak
63585af26d
Get level2 chunks and archive working together, reduce logging of level2 chunks 2025-05-10 09:50:51 -04:00
AdenKoperczak
094d286b41
fully working merging of data from last and current scan 2025-05-10 09:50:51 -04:00
AdenKoperczak
8b7a3e9781
partiallaly complete merging of radar data 2025-05-10 09:50:51 -04:00
AdenKoperczak
add57ff26f
Minor updates to level2 chunks 2025-05-10 09:50:51 -04:00
AdenKoperczak
a754d66844
Setting up for merging last and current scan's, and having archive and chunks 2025-05-10 09:50:51 -04:00
AdenKoperczak
fc83a7a36f
working level2 chunks with auto rerendering 2025-05-10 09:50:51 -04:00
AdenKoperczak
f0ef6b35dd
Slight rework to nexrad data provider interface 2025-05-10 09:50:46 -04:00
Dan Paulat
490989ac2a Make archive event pruning more robust 2025-05-05 00:25:28 -05:00
Dan Paulat
f37a77a9f7 Add text event pruning
- Still need to prune AlertLayer
- Still need to test alerts reload after being pruned
2025-05-04 23:10:22 -05:00
Dan Paulat
4719badc54 clang-tidy fixes 2025-05-04 23:10:21 -05:00
Dan Paulat
228ec191f6 Add year to Text Event Key 2025-05-04 23:10:21 -05:00
Dan Paulat
82ba51909e Breaking circular header dependency 2025-05-04 23:10:21 -05:00
Dan Paulat
56961efe76 Correcting clang-tidy fix compile error 2025-05-04 23:10:21 -05:00