Commit Graph

946 Commits

Author SHA1 Message Date
Dmitry Degtyarev
682d340e97 remove remnants of delayedwrite in helper
remove file watcher
always just write in writejob's
2020-11-01 20:32:35 +04:00
Dmitry Degtyarev
e7a996f119 remove realsize property
since its not calculatable until image is fully written
remove releaseDate
dont show delayedWrite checkbox if not supported for writing
2020-11-01 20:26:38 +04:00
Dmitry Degtyarev
85654b8e09 update deprecated QQmlListProperty ctor 2020-11-01 19:52:59 +04:00
Dmitry Degtyarev
b81b9a1679 remove FAILED_VERIFICATION status
remove delayedWrite properties for drives
2020-11-01 19:49:28 +04:00
Dmitry Degtyarev
df0994ac3c make delayedWrite logic saner
checkbox sets flag in variant
variant starts write if delayedwrite is on
rename status to DOWNLOAD_RESUMING
2020-11-01 19:43:04 +04:00
Dmitry Degtyarev
c34d55d1d5 fix incorrect message types 2020-11-01 18:55:28 +04:00
Dmitry Degtyarev
582b90e0fb dont force software renderer for windows 2020-11-01 18:52:47 +04:00
Dmitry Degtyarev
522033504d move message handler to main.cpp
rename utilities.cpp to network.cpp
2020-11-01 18:43:39 +04:00
Dmitry Degtyarev
be53edae0d remove message handler category
use base qInfo(), qDebug(), etc.. f-ns
delete crashhandler
2020-11-01 17:58:19 +04:00
Dmitry Degtyarev
8819701248 improve options and message handler
parse options using qt parser
make options work
remove user agent and testing options
set app version
2020-11-01 17:51:25 +04:00
Dmitry Degtyarev
a43642c6ee simplify progress
move it out into separate source file
remove unneeded members
calculate leftSize in progress, not in qml
2020-11-01 14:42:22 +04:00
Dmitry Degtyarev
be4feb6c8a do image download progress through signals
fix incorrect variant progress init
2020-11-01 13:50:27 +04:00
Dmitry Degtyarev
4f55d67afe change to mDebug()'s in ImageDownload 2020-11-01 13:44:16 +04:00
Dmitry Degtyarev
75b24c2ae4 ensure ReleaseVariant's progress isn't null 2020-11-01 13:43:57 +04:00
Dmitry Degtyarev
7d41aa6055
Update BUILDING.md 2020-11-01 13:34:52 +04:00
Dmitry Degtyarev
fbfe6f9a46 remove md5 and sha members 2020-11-01 13:27:55 +04:00
Dmitry Degtyarev
a785afbeca check md5 in imagedownload
md5 check progress is now displayed
cancel via signal/slot connection
reduce amount of stored pointers(imagedownload, replies)
delete file if download fails for whatever reason
2020-11-01 13:22:16 +04:00
Dmitry Degtyarev
523805f1d2 remove libcheckisomd5
fix writejob not printing "DONE" at the end which caused writing
\ to fail to complete
2020-10-31 15:27:00 +04:00
Dmitry Degtyarev
f60b00f840 don't do md5 check after write
not all types of images are checked and that's confusing
2020-10-31 14:50:27 +04:00
Dmitry Degtyarev
8ad73dce9d add helper paths for release and debug folders 2020-10-31 12:50:08 +04:00
Dmitry Degtyarev
4a6583bb78 improve download states
start in preparing state
go into resuming state on error
\ go back to downloading state when resumed
show busy indicator when preparing/resuming
simplify finish slots of image download down to finished()
add start() and interrupted() signals to image download
fix cancel not calling reply->abort
2020-10-31 11:30:14 +04:00
Dmitry Degtyarev
6b95753d85 cancel download when dialog closes
downloaddialog can close by close button or cancel button
2020-10-30 20:26:23 +04:00
Dmitry Degtyarev
fdcc946fb1 add getHelperPath()
unified path for helper for all platforms
makes developing on windows less of a pain because helper can be found
\ in build dir now
2020-10-30 20:12:57 +04:00
Dmitry Degtyarev
68536dcee0 download md5 after downloading image 2020-10-30 18:39:35 +04:00
Dmitry Degtyarev
4f6ff8f51f remove manual calls to onReadyRead()
read all data from reply in onReadRead()
2020-10-30 18:31:11 +04:00
Dmitry Degtyarev
1ad5388912 cancel download from button, not from visibility
previously was canceling twice
remove delete button for custom images
2020-10-30 18:22:46 +04:00
Dmitry Degtyarev
5047ef7b57 compute md5 after download using qt
instead of libisoncheckmd5
remove sha1 stuff
2020-10-30 18:14:26 +04:00
Dmitry Degtyarev
d4905dbf2f do reply->deleteLater in image download
to be able to delete image download normally
2020-10-30 17:59:56 +04:00
Dmitry Degtyarev
5fd742a8fa set interval of timeout timer 2020-10-30 17:39:51 +04:00
Dmitry Degtyarev
70ec8ae0f8 improve image download clean up
raise image download timeout to 15s
2020-10-30 15:56:35 +04:00
Dmitry Degtyarev
fc2ac49c78 rename to image_download.cpp 2020-10-30 15:37:04 +04:00
Dmitry Degtyarev
74db6d56be add ImageDownload
no download manager anymore
imagedownload is created to start a download
move resuming to release manager
remove sha for now
separate download signals to finished/network or disk error
cancel download via variant
2020-10-30 14:51:02 +04:00
Dmitry Degtyarev
79b0f05f5d improve downloadmanager
attempt to resume image downloads on errors or time outs
show resume status in download dialog
move downloading releases and md5sum's into releasemanager
\ do it through QNetworkRequest directly instead of Download class
download releases all the at the same time instead of chaining downloads
\ one by one
time out md5sum and releases downloads
wait for md5sum download to finish before starting image download
remove mirror stuff, just have a single image url instead
remove versionchecker
2020-10-29 17:59:30 +04:00
Dmitry Degtyarev
6f2b992245 0.5.0-alt1
- Remove artifacts from all yml strings
- Remove blank rectangle that obscured top of images list
- Put workstation and server releases on the front page
- Reduce row heights and max line counts
2020-10-20 16:38:05 +04:00
Dmitry Degtyarev
fa33e013aa revert back to lower row heights
reduce max line count in row items to 2
2020-10-20 14:16:25 +04:00
Dmitry Degtyarev
ec8b04111f improve front page logic
create FRONTPAGE_ROW_COUNT constant
create custom release outside of loop
put workstation and server on the front page
2020-10-20 14:14:28 +04:00
Dmitry Degtyarev
ad75df2d72 remove Release index member
use Delegate's index instead
2020-10-20 14:02:34 +04:00
Dmitry Degtyarev
4dac3379d7 simplify top rounding logic
remove bottom rounding, not working and not needed
2020-10-20 14:00:05 +04:00
Dmitry Degtyarev
8b1c613c27 fix archSelect not opening due to z coord 2020-10-20 13:27:12 +04:00
Dmitry Degtyarev
1bbddd4c5f remove dollar f-ns
don't do anything
2020-10-20 13:26:36 +04:00
Dmitry Degtyarev
f12a84b232 improve qml layout
make search bar a header of listView
make expander and about footers of listView
remove whiteBackground crutch
2020-10-20 13:15:53 +04:00
Dmitry Degtyarev
011325e6f1 remove rectangle that obscured top of frontpage
when restore notification was visible
2020-10-15 14:06:19 +04:00
Dmitry Degtyarev
6eb4db38df remove unneeded conversions to c strings 2020-10-14 15:13:29 +04:00
Dmitry Degtyarev
27197c11ee remove artifacts from all yml strings
html entities and newlines
2020-10-14 15:12:36 +04:00
Dmitry Degtyarev
57413c6b50 0.4.8-alt1
- Improve image summary display
- Improve windows build
- Build windows version statically
2020-10-07 17:13:45 +04:00
Dmitry Degtyarev
34575c0a1f make default board "PC" if no board is specified
"none" for pc32 and pc64 is too confusing
2020-10-03 21:00:59 +04:00
Dmitry Degtyarev
eff9132f3f improve image summaries on front page
remove newlines
limit line count to 3 and elide
2020-10-03 20:57:52 +04:00
Dmitry Degtyarev
df0e8c89b9 fix linking to yaml-cpp in windows build 2020-10-03 20:39:17 +04:00
Dmitry Degtyarev
204d4443ba build statically for windows deploy
dynamic linking and collecting all of the dll's just doesn't work
build.sh now creates build/deploy dirs in project root folder
closes #20
2020-10-03 20:16:31 +04:00
Dmitry Degtyarev
0d669e184c move windows build instructions to BUILDING.md
rename build.sh "install" option to "dependencies"
2020-10-03 09:37:10 +04:00