Skip to content

Commit 98cb15a

Browse files
authored
Merge pull request #228 from svlad-90/dev/vladyslav-goncharuk/ISSUE-227
[ISSUE-227] Add delivery package for Windows OS
2 parents 9c4b205 + 4d3b589 commit 98cb15a

13 files changed

+176
-76
lines changed

.github/workflows/build_clang_tidy_qt5.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
with:
4545
cmake-version: 'v3.24.x'
4646

47-
# Checkout dlt-viewer's revision v2.25.0
47+
# Checkout dlt-viewer's revision 2.27.0
4848
- name: Checkout of the dlt-viewer
4949
uses: actions/checkout@v3
5050
with:
5151
repository: GENIVI/dlt-viewer
52-
ref: v2.25.0
52+
ref: 2.27.0
5353

5454
# Checkout project's revision, which is pushed
5555
- name: Checkout of the project

.github/workflows/build_clang_tidy_qt6.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
with:
4545
cmake-version: 'v3.24.x'
4646

47-
# Checkout dlt-viewer's revision v2.25.0
47+
# Checkout dlt-viewer's revision 2.27.0
4848
- name: Checkout of the dlt-viewer
4949
uses: actions/checkout@v3
5050
with:
5151
repository: GENIVI/dlt-viewer
52-
ref: v2.25.0
52+
ref: 2.27.0
5353

5454
# Checkout project's revision, which is pushed
5555
- name: Checkout of the project

.github/workflows/build_linux_qt5.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
with:
4040
cmake-version: 'v3.24.x'
4141

42-
# Checkout dlt-viewer's revision v2.25.0
42+
# Checkout dlt-viewer's revision 2.27.0
4343
- name: Checkout of the dlt-viewer
4444
uses: actions/checkout@v3
4545
with:
4646
repository: GENIVI/dlt-viewer
47-
ref: v2.25.0
47+
ref: 2.27.0
4848

4949
# Checkout project's revision, which is pushed
5050
- name: Checkout of the ${{ github.event.repository.name }}

.github/workflows/build_linux_qt6.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
with:
4040
cmake-version: 'v3.24.x'
4141

42-
# Checkout dlt-viewer's revision v2.25.0
42+
# Checkout dlt-viewer's revision 2.27.0
4343
- name: Checkout of the dlt-viewer
4444
uses: actions/checkout@v3
4545
with:
4646
repository: GENIVI/dlt-viewer
47-
ref: v2.25.0
47+
ref: 2.27.0
4848

4949
# Checkout project's revision, which is pushed
5050
- name: Checkout of the ${{ github.event.repository.name }}

.github/workflows/build_windows_qt5.yml

+64-20
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: 'Target branch'
1212
required: true
1313
default: 'master'
14+
collect_artifacts:
15+
description: 'Collect build artifacts'
16+
required: false
17+
default: 'false'
18+
type: boolean
1419

1520
jobs:
1621
build_windows:
@@ -21,17 +26,13 @@ jobs:
2126

2227
- uses: ilammy/msvc-dev-cmd@v1
2328

24-
# Creation of the ..\downloads directory
25-
- name: Creation of the "..\downloads" directory
26-
run: mkdir ..\downloads
27-
shell: cmd
28-
working-directory: .\
29-
30-
# Creation of the ..\tools directory
31-
- name: Creation of the "..\tools" directory
32-
run: mkdir ..\tools
29+
# Creation of the "..\downloads", "..\build", "..\tools" directories
30+
- name: Creation of the "..\downloads", "..\build", "..\tools" directories
31+
run: |
32+
mkdir ..\build
33+
mkdir ..\downloads
34+
mkdir ..\tools
3335
shell: cmd
34-
working-directory: .\
3536

3637
# Installation of jom
3738
- name: Installation of the jom
@@ -59,12 +60,12 @@ jobs:
5960
with:
6061
cmake-version: 'v3.24.x'
6162

62-
# Checkout dlt-viewer's revision v2.25.0
63+
# Checkout dlt-viewer's revision 2.27.0
6364
- name: Checkout of the dlt-viewer
6465
uses: actions/checkout@v3
6566
with:
6667
repository: GENIVI/dlt-viewer
67-
ref: v2.25.0
68+
ref: 2.27.0
6869

6970
# Checkout project's revision, which is pushed
7071
- name: Checkout of the project
@@ -90,12 +91,6 @@ jobs:
9091
dir: ${{ github.workspace }}\Qt5
9192
cache: true
9293

93-
# Create build directory
94-
- name: Creation of the ".\build" directory
95-
run: mkdir ..\build
96-
shell: cmd
97-
working-directory: .\
98-
9994
#CMake for dlt-viewer, including the DLT-Message_analyzer plugin
10095
- name: CMake
10196
run: |
@@ -106,13 +101,62 @@ jobs:
106101
#List files in build folder
107102
- name: List files in build folder
108103
run: |
109-
dir
104+
dir ..\build
105+
dir .\
110106
shell: cmd
111-
working-directory: ..\build
107+
working-directory: .\
112108

113109
# Build of the project
114110
- name: Jom
115111
run: |
116112
jom.exe -j8
117113
shell: cmd
118114
working-directory: ..\build
115+
116+
# Collect required artifacts
117+
- name: Collect required artifacts
118+
if: ${{ github.event.inputs.collect_artifacts == 'true' }}
119+
run: |
120+
mkdir .\release_win_qt5_X86_64
121+
mkdir .\release_win_qt5_X86_64\plugins
122+
mkdir .\release_win_qt5_X86_64\platforms
123+
cp ..\build\bin\dlt-viewer.exe .\release_win_qt5_X86_64\dlt-viewer.exe
124+
cp ..\build\version.txt .\release_win_qt5_X86_64\version.txt
125+
cp ..\build\bin\plugins\DLT-Message-Analyzer.dll .\release_win_qt5_X86_64\plugins\DLT-Message-Analyzer.dll
126+
cp ..\build\bin\plugins\dltdbusplugin.dll .\release_win_qt5_X86_64\plugins\dltdbusplugin.dll
127+
cp ..\build\bin\plugins\dltlogstorageplugin.dll .\release_win_qt5_X86_64\plugins\dltlogstorageplugin.dll
128+
cp ..\build\bin\plugins\dltsegmentationplugin.dll .\release_win_qt5_X86_64\plugins\dltsegmentationplugin.dll
129+
cp ..\build\bin\plugins\dltsystemviewerplugin.dll .\release_win_qt5_X86_64\plugins\dltsystemviewerplugin.dll
130+
cp ..\build\bin\plugins\dlttestrobotplugin.dll .\release_win_qt5_X86_64\plugins\dlttestrobotplugin.dll
131+
cp ..\build\bin\plugins\dltviewerplugin.dll .\release_win_qt5_X86_64\plugins\dltviewerplugin.dll
132+
cp ..\build\bin\plugins\filetransferplugin.dll .\release_win_qt5_X86_64\plugins\filetransferplugin.dll
133+
cp ..\build\bin\plugins\nonverboseplugin.dll .\release_win_qt5_X86_64\plugins\nonverboseplugin.dll
134+
cp ..\build\bin\plugins\plantuml.jar .\release_win_qt5_X86_64\plugins\plantuml.jar
135+
cp ..\build\qdlt\qdlt.dll .\release_win_qt5_X86_64\qdlt.dll
136+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qdirect2d.dll .\release_win_qt5_X86_64\platforms\qdirect2d.dll
137+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qdirect2dd.dll .\release_win_qt5_X86_64\platforms\qdirect2dd.dll
138+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qminimal.dll .\release_win_qt5_X86_64\platforms\qminimal.dll
139+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qminimald.dll .\release_win_qt5_X86_64\platforms\qminimald.dll
140+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qoffscreen.dll .\release_win_qt5_X86_64\platforms\qoffscreen.dll
141+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qoffscreend.dll .\release_win_qt5_X86_64\platforms\qoffscreend.dll
142+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qwindows.dll .\release_win_qt5_X86_64\platforms\qwindows.dll
143+
cp .\Qt5\Qt\5.15.0\msvc2019_64\plugins\platforms\qwindowsd.dll .\release_win_qt5_X86_64\platforms\qwindowsd.dll
144+
cp .\build\output\amd64\Release\bin\qcustomplot.dll .\release_win_qt5_X86_64\qcustomplot.dll
145+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Core.dll .\release_win_qt5_X86_64\Qt5Core.dll
146+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Gui.dll .\release_win_qt5_X86_64\Qt5Gui.dll
147+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Network.dll .\release_win_qt5_X86_64\Qt5Network.dll
148+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5PrintSupport.dll .\release_win_qt5_X86_64\Qt5PrintSupport.dll
149+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5SerialPort.dll .\release_win_qt5_X86_64\Qt5SerialPort.dll
150+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Sql.dll .\release_win_qt5_X86_64\Qt5Sql.dll
151+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Svg.dll .\release_win_qt5_X86_64\Qt5Svg.dll
152+
cp .\Qt5\Qt\5.15.0\msvc2019_64\bin\Qt5Widgets.dll .\release_win_qt5_X86_64\Qt5Widgets.dll
153+
shell: cmd
154+
working-directory: .\
155+
156+
- name: Upload artifacts
157+
if: ${{ success() && github.event.inputs.collect_artifacts == 'true' }}
158+
uses: actions/upload-artifact@v4
159+
with:
160+
name: release_win_qt5_X86_64
161+
path: |
162+
release_win_qt5_X86_64

.github/workflows/build_windows_qt6.yml

+64-19
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: 'Target branch'
1212
required: true
1313
default: 'master'
14+
collect_artifacts:
15+
description: 'Collect build artifacts'
16+
required: false
17+
default: 'false'
18+
type: boolean
1419

1520
jobs:
1621
build_windows:
@@ -21,15 +26,12 @@ jobs:
2126

2227
- uses: ilammy/msvc-dev-cmd@v1
2328

24-
# Creation of the ..\downloads directory
25-
- name: Creation of the "..\downloads" directory
26-
run: mkdir ..\downloads
27-
shell: cmd
28-
working-directory: .\
29-
30-
# Creation of the ..\tools directory
31-
- name: Creation of the "..\tools" directory
32-
run: mkdir ..\tools
29+
# Creation of the "..\downloads", "..\build", "..\tools" directories
30+
- name: Creation of the "..\downloads", "..\build", "..\tools" directories
31+
run: |
32+
mkdir ..\build
33+
mkdir ..\downloads
34+
mkdir ..\tools
3335
shell: cmd
3436
working-directory: .\
3537

@@ -59,12 +61,12 @@ jobs:
5961
with:
6062
cmake-version: 'v3.24.x'
6163

62-
# Checkout dlt-viewer's revision v2.25.0
64+
# Checkout dlt-viewer's revision 2.27.0
6365
- name: Checkout of the dlt-viewer
6466
uses: actions/checkout@v3
6567
with:
6668
repository: GENIVI/dlt-viewer
67-
ref: v2.25.0
69+
ref: 2.27.0
6870

6971
# Checkout project's revision, which is pushed
7072
- name: Checkout of the project
@@ -91,12 +93,6 @@ jobs:
9193
cache: true
9294
modules: 'qtserialport'
9395

94-
# Create build directory
95-
- name: Creation of the ".\build" directory
96-
run: mkdir ..\build
97-
shell: cmd
98-
working-directory: .\
99-
10096
#CMake for dlt-viewer, including the DLT-Message_analyzer plugin
10197
- name: CMake
10298
run: |
@@ -107,13 +103,62 @@ jobs:
107103
#List files in build folder
108104
- name: List files in build folder
109105
run: |
110-
dir
106+
dir ..\build
107+
dir .\
111108
shell: cmd
112-
working-directory: ..\build
109+
working-directory: .\
113110

114111
# Build of the project
115112
- name: Jom
116113
run: |
117114
jom.exe -j8
118115
shell: cmd
119116
working-directory: ..\build
117+
118+
# Collect required artifacts
119+
- name: Collect required artifacts
120+
if: ${{ github.event.inputs.collect_artifacts == 'true' }}
121+
run: |
122+
mkdir .\release_win_qt6_X86_64
123+
mkdir .\release_win_qt6_X86_64\plugins
124+
mkdir .\release_win_qt6_X86_64\platforms
125+
cp ..\build\bin\dlt-viewer.exe .\release_win_qt6_X86_64\dlt-viewer.exe
126+
cp ..\build\version.txt .\release_win_qt6_X86_64\version.txt
127+
cp ..\build\bin\plugins\DLT-Message-Analyzer.dll .\release_win_qt6_X86_64\plugins\DLT-Message-Analyzer.dll
128+
cp ..\build\bin\plugins\dltdbusplugin.dll .\release_win_qt6_X86_64\plugins\dltdbusplugin.dll
129+
cp ..\build\bin\plugins\dltlogstorageplugin.dll .\release_win_qt6_X86_64\plugins\dltlogstorageplugin.dll
130+
cp ..\build\bin\plugins\dltsegmentationplugin.dll .\release_win_qt6_X86_64\plugins\dltsegmentationplugin.dll
131+
cp ..\build\bin\plugins\dltsystemviewerplugin.dll .\release_win_qt6_X86_64\plugins\dltsystemviewerplugin.dll
132+
cp ..\build\bin\plugins\dlttestrobotplugin.dll .\release_win_qt6_X86_64\plugins\dlttestrobotplugin.dll
133+
cp ..\build\bin\plugins\dltviewerplugin.dll .\release_win_qt6_X86_64\plugins\dltviewerplugin.dll
134+
cp ..\build\bin\plugins\filetransferplugin.dll .\release_win_qt6_X86_64\plugins\filetransferplugin.dll
135+
cp ..\build\bin\plugins\nonverboseplugin.dll .\release_win_qt6_X86_64\plugins\nonverboseplugin.dll
136+
cp ..\build\bin\plugins\plantuml.jar .\release_win_qt6_X86_64\plugins\plantuml.jar
137+
cp ..\build\qdlt\qdlt.dll .\release_win_qt6_X86_64\qdlt.dll
138+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qdirect2d.dll .\release_win_qt6_X86_64\platforms\qdirect2d.dll
139+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qdirect2dd.dll .\release_win_qt6_X86_64\platforms\qdirect2dd.dll
140+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qminimal.dll .\release_win_qt6_X86_64\platforms\qminimal.dll
141+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qminimald.dll .\release_win_qt6_X86_64\platforms\qminimald.dll
142+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qoffscreen.dll .\release_win_qt6_X86_64\platforms\qoffscreen.dll
143+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qoffscreend.dll .\release_win_qt6_X86_64\platforms\qoffscreend.dll
144+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qwindows.dll .\release_win_qt6_X86_64\platforms\qwindows.dll
145+
cp .\Qt6\Qt\6.5.0\msvc2019_64\plugins\platforms\qwindowsd.dll .\release_win_qt6_X86_64\platforms\qwindowsd.dll
146+
cp .\build\output\amd64\Release\bin\qcustomplot.dll .\release_win_qt6_X86_64\qcustomplot.dll
147+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Core.dll .\release_win_qt6_X86_64\Qt6Core.dll
148+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Gui.dll .\release_win_qt6_X86_64\Qt6Gui.dll
149+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Network.dll .\release_win_qt6_X86_64\Qt6Network.dll
150+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6PrintSupport.dll .\release_win_qt6_X86_64\Qt6PrintSupport.dll
151+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6SerialPort.dll .\release_win_qt6_X86_64\Qt6SerialPort.dll
152+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Sql.dll .\release_win_qt6_X86_64\Qt6Sql.dll
153+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Svg.dll .\release_win_qt6_X86_64\Qt6Svg.dll
154+
cp .\Qt6\Qt\6.5.0\msvc2019_64\bin\Qt6Widgets.dll .\release_win_qt6_X86_64\Qt6Widgets.dll
155+
shell: cmd
156+
working-directory: .\
157+
158+
- name: Upload artifacts
159+
if: ${{ success() && github.event.inputs.collect_artifacts == 'true' }}
160+
uses: actions/upload-artifact@v4
161+
with:
162+
name: release_win_qt6_X86_64
163+
path: |
164+
release_win_qt6_X86_64

README.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,16 @@
44

55
----
66

7-
## <span style="color:red">v.1.0.29 released!</span>
7+
## <span style="color:red">v.1.0.30 released!</span>
88

9-
New features in release v.1.0.29:
10-
11-
- [Coverage note](./md/coverage_note/coverage_note.md)
12-
- [Grouped view highlighting](./md/grouped_view/grouped_view.md#highlighting-the-group-in-the-search-view)
13-
- [Regex history](.//md/search/search.md#regex-history)
14-
15-
## Implemented features targeted for release v1.0.30:
16-
17-
<span style="color:red">Use the HEAD revision to try out the following features:</span>
9+
New features in release v.1.0.30:
1810

1911
- [Grouped view default application is disabled](./md/grouped_view/grouped_view.md#backward-compatibility-note)
2012
- [Groups nesting ordering](./md/grouped_view/grouped_view.md#groups-nesting-ordering)
2113
- [Plot legend scrolling](./md/plot_view/plot_view.md#legend-scrolling)
2214
- [Regex group name glossary](./md/search/search.md#regex-group-name-glossary)
2315
- [Regex text editor with the automatic height adjustment](./md/search/search.md#regex-text-editor)
16+
- [The search view inherits the auto-scroll option from the dlt-viewer settings][https://github.com/svlad-90/DLT-Message-Analyzer/issues/19]
2417

2518
----
2619

@@ -59,6 +52,8 @@ There are the following schemas of deployment:
5952

6053
### [Read it here](./md/installation_guide/installation_guide.md)
6154

55+
**Important note!** As an alternative to 'building from source', you can download the prebuilt dlt-viewer with the integrated DLT-Message-Analyzer plugin in the [packages](https://github.com/svlad-90?tab=packages&repo_name=DLT-Message-Analyzer) section. Currently, it is supported only for the Windows OS.
56+
6257
----
6358

6459
## Feature-set:

dltmessageanalyzerplugin/src/common/Definitions.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#ifndef DEFINITIONS_HPP
77
#define DEFINITIONS_HPP
88

9+
#include <cstdint>
10+
911
#include <list>
1012
#include <set>
1113

dltmessageanalyzerplugin/src/components/logsWrapper/src/CDLTFileWrapper.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,6 @@ bool CDLTFileWrapper::CSubFilesHandler::CDLTFileItem::updateIndex()
841841
int counter_header = 0;
842842
quint16 message_length = 0;
843843
qint64 file_size = mInfile.size();
844-
qint64 errors_in_file = 0;
845844

846845
while(true)
847846
{
@@ -932,11 +931,6 @@ bool CDLTFileWrapper::CSubFilesHandler::CDLTFileItem::updateIndex()
932931
storageLength = 16;
933932
else
934933
storageLength = 13;
935-
if(current_message_pos!=0)
936-
{
937-
// first messages not at beginning or error occured before
938-
errors_in_file++;
939-
}
940934
// speed up move directly to message length, if inside current buffer
941935
if(num+9<cbuf_sz)
942936
{

0 commit comments

Comments
 (0)