Commit Graph

101 Commits

Author SHA1 Message Date
Dmitry Degtyarev
4e90ef1059 update copyright year 2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
a8412d4c80 remove brace initialization from headers
initialize variables in .cpp ctor
make QTextStream's temp variables, no reason to keep them around
2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
3f49293be5 run clang-format 2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
1fa7aee0c1 move up lambda captures
this is so that clang will format them correctly
2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
a8eb44cdc9 add curly braces to all if statements 2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
41999b5252 simplify aligned buffer usage in writejob
make a class and free buffer in destructor
2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
4c574387c1 reduce the amount of "auto's"
also use references in for each loops
2022-04-12 12:30:02 +04:00
Dmitry Degtyarev
aa70baed33 fix delayed write
authenticate when delayed write is checked
cancel helper when delayed write is unchecked
uncheck delayed write when dialog is closed
2021-04-22 16:49:58 +04:00
Dmitry Degtyarev
12a544f8c7 update license notices 2020-11-05 13:04:10 +04:00
Dmitry Degtyarev
8b74d7af10 check for file open error when writing image
improve loadVariant debug msg's
don't modify variant status in LinuxDrive::cancel()
Variant::resetStatus() check for existance of file instead of filename
reset variant status both when download dialog opens and closes
2020-11-05 13:02:30 +04:00
Dmitry Degtyarev
9ba47d938a remove custom message output
can do it through qt environment vars
add notes about debugging
remove args parser
remove isomd5 link
2020-11-02 12:48:54 +04:00
Dmitry Degtyarev
b4f25d06a0 remove mac stuff
\ mac is completely unsupported
2020-11-01 20:45:40 +04:00
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
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
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
923c594e30 fix mac helper port 2020-01-30 17:30:10 +04:00
Dmitry Degtyarev
25a0fdf9d8 fix incomplete win helper port 2020-01-24 14:42:24 +04:00
Dmitry Degtyarev
5156ab19c4 pass md5 through args to helper
convert computedsum to ascii format for comparison
apply helper mods to win/mac
move iso/img check in helper into check()
2020-01-21 13:51:07 +04:00
Dmitry Degtyarev
e1646bdb87 only check md5 on drive if file is iso
calculate isosize in mediaCheckFD()
calculate general filesize in mediaCheckFile()
remove doMediaCheck()
remove parsepvd()
remove printMD5SUM()
2020-01-20 19:57:18 +04:00
Dmitry Degtyarev
7192405a02 replace deprecated OpenForBenchmark() with OpenDevice() 2020-01-20 14:51:18 +04:00
Evgeny Sinelnikov
bc34f2762b Skip single write error and try again in image helper 2020-01-16 15:44:21 +04:00
Evgeny Sinelnikov
d004efe337 Add deployment rename with MEDIAWRITER_NAME variable 2019-11-04 02:00:41 +04:00
Martin Bříza
5a38833ded Hard-sync the writing/check status so delayed writing doesn't lock up 2019-04-16 21:22:21 +02:00
squimrel
3cf46b5257 Improve memory management of page-aligned buffer
Fix memory leak in WriteJob::writeCompressed of the linux helper.
2017-03-27 13:42:15 +00:00
squimrel
f896c2ef83 Remove unused variable dd
* Remove from linux helper since it's not used anymore since
  397c29857c.
* Remove from windows helper since it's not used anymore since
  92032e6fdb.
* Remove from mac helper since it was never used.
2017-03-23 00:35:20 +00:00
Martin Briza
ba4749b90d Fix Windows delayed writing code
Also a bit in Mac backend
2017-03-20 16:09:09 +01:00
Martin Bříza
c51cf9bebb Fix behavior with not finished downloads on Mac 2017-03-14 19:11:24 +01:00
Martin Briza
63b8a65f5a More debug reports in release manager and writing 2017-03-13 11:54:23 +01:00
Martin Briza
301d0f6e7d Make it work with Qt 5.3 2017-03-07 15:56:28 +01:00
Martin Briza
57681a7cdd Make delayed writing work on Linux
Part of #60
2017-01-19 16:14:26 +01:00
Martin Bříza
27fa8b435c Decompress when it`s actually compressed 2017-01-18 15:32:42 +01:00
Martin Bříza
567219246d Enable decompression on Mac
Uses xz installed from brew

Closes #61
2017-01-18 10:32:02 +01:00
Martin Bříza
07a6006259 Fix an error and some warnings in the Mac helper
I admit I didn`t try to compile the code yesterday
2017-01-18 10:12:51 +01:00
Martin Briza
4efcfc2c7d Enable delayed writes on macOS and restructure the code 2017-01-17 16:44:50 +01:00
Martin Briza
4c0d6268ed Enable delayed writes on Windows 2017-01-17 16:35:27 +01:00
Martin Briza
79567cce8a Get rid of commented-out code 2017-01-17 16:27:25 +01:00
Martin Briza
cfd860f071 Get rid of redundant returns 2017-01-17 16:25:58 +01:00
Martin Briza
18fa7bfa3f Add LZMA writing to the Linux backend
Won't build in Qt Creator unless you get xz-libs yourself

Part of #61
2017-01-17 15:19:56 +01:00
Martin Briza
35929e23e3 Fix a warning 2017-01-17 13:45:00 +01:00
Martin Briza
744b37d397 Error checking for compressed writes on Linux 2017-01-17 13:44:42 +01:00
Martin Briza
b7db4ce72e Enable reporting LZMA writing progress 2017-01-17 11:22:52 +01:00
Martin Briza
fe8c09b43a Linux: add LZMA (xz) decompression code 2017-01-17 11:03:04 +01:00
Martin Briza
09a413535f Use update-partition-type to force a Windows-compatible type of FAT32 2017-01-17 09:07:45 +01:00
Martin Briza
da5df69469 Linux now supports delayed writing
But the UI doesn't
2017-01-16 18:11:19 +01:00
Martin Briza
d270a135d3 Split the writer for Linux to three methods
... in preparation for implementing delayed writing
2017-01-16 17:36:53 +01:00
Martin Briza
83ec5858b8 Linux: UDisks2: Call OpenForBenchmark instead of OpenForRestore
No need to call OpenForBackup then to test the written data

Fixes the need to enter your password twice when writing
2017-01-13 09:29:05 +01:00
Martin Bříza
9795e506d8 Improve reliability of Windows writing 2017-01-09 13:18:20 +01:00
Martin Bříza
5a8b1f6a45 Rework the Windows writing code
Includes more aggressive dismounting

Should be more reliable and prevent Windows from messing with the drive
after writing (System Volume Information)
2016-11-29 15:47:27 +01:00
Martin Briza
80f431758d Fix the Linux restore code error reporting 2016-11-09 12:15:32 +01:00