-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not block UI when building ECUs tree #606
base: master
Are you sure you want to change the base?
Conversation
} | ||
project.ecu->clear(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexmucde this changes this behavior: #576 (comment) I.e. now every new dlt file import will clean up the ECU tree first and create new one only with its own entries.
This makes this change a bit simpler, unless old behavior was intentional.
@alexmucde I would appreciate if you could play with this. I tried not to bring any regressions, but as you can see the change is not small, so I might have introduced some. Also I would appreciate if you could provide data for tests to make them more robust, e.g. raw data to check parsing of other types of payloads except |
ab12c71
to
f8f3d7d
Compare
1b050c0
to
efa6ca2
Compare
@alexmucde ok, I'll have a look, I now better understand that issue. Keep in mind, it might take some time, while this PR already fixes one very real annoying issue. |
use ctrlmsg parsing function add test Signed-off-by: Viktor Kopp <[email protected]>
fix symbols visibility Fix macos-13 build It still uses qmake, so new sources should be added there too Signed-off-by: Viktor Kopp <[email protected]>
efa6ca2
to
a7bd8af
Compare
This PR resolves #576 for the cases when DLT log contains lots of apps and contexts.
Historically, the same function used to populate ECU tree (in the "Config"-tab) both in online and offline modes. This was a problem for offline mode (aka dlt-file loading), because UI update is then called multiple time in a short time frame ate the end of file processing freezing the whole app. The fix is to: