mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-29 18:04:24 +02:00
Compare commits
7 Commits
7184c691d3
...
13.38
Author | SHA1 | Date | |
---|---|---|---|
355f451e5c | |||
0b61fb0470 | |||
af18c98a03 | |||
e9a8112196 | |||
bca335d4b2 | |||
f3b1fa8eb7 | |||
fac377e746 |
@ -8,6 +8,7 @@ image:
|
||||
|
||||
environment:
|
||||
NSISDIR: C:\Program Files (x86)\NSIS
|
||||
JOMDIR: C:\Qt\Tools\QtCreator\bin\jom
|
||||
matrix:
|
||||
- QTDIR: C:\Qt\5.15\msvc2019_64
|
||||
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
|
||||
@ -17,14 +18,14 @@ environment:
|
||||
|
||||
install:
|
||||
- cmd: |-
|
||||
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
||||
set PATH=%QTDIR%\bin;%NSISDIR%;%JOMDIR%;%PATH%
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
|
||||
|
||||
build_script:
|
||||
- cmd: |-
|
||||
lrelease gpxsee.pro
|
||||
qmake gpxsee.pro
|
||||
nmake release
|
||||
jom release
|
||||
|
||||
md installer
|
||||
copy release\GPXSee.exe installer
|
||||
|
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
- name: Configure build
|
||||
run: qmake gpxsee.pro OPENSSL_PATH=android_openssl
|
||||
- name: Build project
|
||||
run: make -j2 apk
|
||||
run: make -j4 apk
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -24,4 +24,4 @@ jobs:
|
||||
- name: Configure build
|
||||
run: qmake CONFIG+=${{ matrix.config }} gpxsee.pro
|
||||
- name: Build project
|
||||
run: make -j2
|
||||
run: make -j4
|
||||
|
@ -214,11 +214,11 @@
|
||||
</rule>
|
||||
|
||||
<!-- Buildings -->
|
||||
<rule e="way" k="building" v="-|civic|cathedral|church|basilica">
|
||||
<rule e="way" k="building" v="-|civic|office|cathedral|church|basilica">
|
||||
<area fill="#dbd0b6" stroke="#cdccc4" stroke-width="0.1"/>
|
||||
</rule>
|
||||
|
||||
<rule e="way" k="building" v="civic">
|
||||
<rule e="way" k="building" v="civic|office">
|
||||
<area fill="#cfc4b3" stroke="#cdccc4" stroke-width="0.1"/>
|
||||
<rule e="way" k="*" v="*" zoom-min="16">
|
||||
<caption fill="#000000" font-size="10" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="2" priority="-10"/>
|
||||
|
@ -172,7 +172,7 @@
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="251"/>
|
||||
<source>VTK files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>VTK dosieroj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="252"/>
|
||||
|
@ -167,12 +167,12 @@
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="250"/>
|
||||
<source>70mai GPS log files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>70mai GPS -lokitiedostot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="251"/>
|
||||
<source>VTK files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>VTK-tiedostot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="252"/>
|
||||
|
@ -167,12 +167,12 @@
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="250"/>
|
||||
<source>70mai GPS log files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>70mai GPS файлы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="251"/>
|
||||
<source>VTK files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>VTK файлы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/data/data.cpp" line="252"/>
|
||||
@ -837,7 +837,7 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="1126"/>
|
||||
<source>Error loading geo URI:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Ошибка загрузки гео URI:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/gui.cpp" line="1132"/>
|
||||
|
@ -180,12 +180,15 @@ bool VTKParser::parse(QFile *file, QList<TrackData> &tracks,
|
||||
_errorString = "";
|
||||
|
||||
while (true) {
|
||||
len = file->read((char*)&recordLen, 2);
|
||||
if (len < 0) {
|
||||
_errorString = "I/O error";
|
||||
return false;
|
||||
} else if (len == 0)
|
||||
break;
|
||||
if ((len = file->read((char*)&recordLen, sizeof(recordLen)))
|
||||
!= sizeof(recordLen)) {
|
||||
if (!len)
|
||||
break;
|
||||
else {
|
||||
_errorString = "Error reading VTK record size";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
recordLen = qFromLittleEndian(recordLen);
|
||||
ba.resize(recordLen);
|
||||
|
Reference in New Issue
Block a user