svlad-90 / DLT-Message-Analyzer

"Extended search" plugin for the DLT-viewer
GNU General Public License v3.0
77 stars 13 forks source link

[FILES_VIEW] Update implementation of the 'CDLTFileItem::updateIndex' #188

Closed svlad-90 closed 12 months ago

svlad-90 commented 12 months ago

The DMA is using a 'CDLTFileWrapper' on top of the QDltFile. That wrapper is used to build traceability from the selected line in the search result to a specific used *.dlt file. Even for the cases where there is more than one file opened. To achieve that we need to do our own indexing of the file messages, to understand which number of messages are available in each opened file.

The indexing mechanism was extended after the release of the dltv2 protocol.

We need to copy-paste the updated mechanism to our application to avoid side-effects.

P.S. It is better to point release v.1.0.27 to this fix.