Commit graph

782 commits

Author SHA1 Message Date
Floris Bos
28bd56edb4 Ask for confirmation on quit if writing
Closes #47
2020-05-23 19:07:03 +02:00
maxnet
3d2c1f2a5a
Merge pull request #49 from mttlmnt/macos-fuzzy-text
Fix for #13 Fuzzy text on macOS Retina Displays
2020-05-23 17:54:58 +02:00
maxnet
528243c050
Merge pull request #52 from ghisvail/patch-1
Install icon under share/icons
2020-05-23 17:54:37 +02:00
maxnet
a2c48e0b7d
Merge pull request #64 from waveform80/custom-user-agent
Fix #62 (custom user-agent)
2020-05-23 17:54:19 +02:00
Floris Bos
8048b5e47c Use accelerated hashing for verification
Modern CPUs have special instructions to accelerate computing
SHA hashes.
The Qt QCryptographicHash code is standard C, so not taking
advantage of those though.
Outsource the hashing to OpenSSL that does.

Shaves off some seconds during verification stage.
2020-05-23 17:50:59 +02:00
Floris Bos
2c5432fe7f Mac OS X: skip timemachine backup
Close #43
2020-05-23 16:08:44 +02:00
Floris Bos
73b9ae764d Add localisation support
- Tested with Dutch and Chinese.
- Chinese translation courtesy of @YuzukiTsuru
2020-05-23 15:57:58 +02:00
Floris Bos
224ebebb04 Use different success message if erase profile is used.
Erase has been written sounds a bit odd.
2020-05-23 14:12:23 +02:00
Floris Bos
c96e5474d0 Show scrollbars permanently
Closes #63
2020-05-23 13:02:38 +02:00
Floris Bos
84a1ca0f71 Remove zero sized drives from list
Closes #48
2020-05-23 12:37:31 +02:00
Floris Bos
a96450afbe Misc main.qml fixes
- Add support for tooltips
- Show more SD cards in list. Closes #32
2020-05-23 12:30:06 +02:00
Ghislain Vaillant
f8e19f83b8 Install AppStream metadata 2020-05-20 14:53:29 +02:00
Ghislain Vaillant
de44d90d37 Add AppStream metadata file 2020-05-20 14:53:29 +02:00
Dave Jones
3bb47b6377 Fix #62
Append "rpi-imager/version-num" to the default User-Agent when curl is
downloading the image so that image hosts can more easily distinguish
rpi-imager traffic from other traffic.
2020-05-19 19:56:32 +00:00
Ghislain Antony Vaillant
906340598c
Install icon under share/icons 2020-04-08 18:26:17 +02:00
Matt Lamont
4e46567438 Specify an NSPrincipalClass in Info.plist to enable Retina display support
The default Info.plist template provided by CMake doesn't have this key, and
CMake only has minimal support for settingstypically found in this file.
In order to specify NSPrincipalClass, we need to provide the whole Info.plist instead.

Info.plist is also specified as a dependancy to the application so that it will
appear in the project explorer, and changes to this file will trigger a rebuild.
2020-04-05 17:42:08 +12:00
Floris Bos
0264af9b73 Performance improvements
- Use larger buffer size when writing uncompressed files
  (was libcurl's default of 16 kb, change it to 128 kb)
- Uncompress the next MB of data, while it is hashing/writing to
  disk in seperate thread.
2020-03-10 23:22:20 +01:00
Floris Bos
bd37916527 Mention version number in title bar 2020-03-10 17:43:48 +01:00
Floris Bos
b269d0b522 Windows: ignore errors from FlushFileBuffers()
Appereantly the function does not work as advertised on Windows 7.
Do call it, but ignore errors.
Hopefully any real write errors, will be detected when reading
back image instead.
2020-03-10 16:40:31 +01:00
Floris Bos
560759fe0c Mac OS X: disallow being started on 10.12
Qt only supports 10.13/10.14/10.15 in latest Qt version
So mark application as such.

Closes #29
2020-03-09 16:54:33 +01:00
Floris Bos
e578236a0b README.md: update repo imagewriter -> rpi-imager 2020-03-09 16:53:55 +01:00
Floris Bos
7f5e973a69 Bump version 2020-03-09 13:15:24 +01:00
Floris Bos
6081ca441f Linux: test for recent libarchive/libcurl/lsblk
The software requires at least:

- libcurl 7.32.0 (released Aug 12 2013!)
- libarchive 3.2.0 (released Apr 30 2016)
- util-linux 2.27 (released Sep 7 2015)

While technically we could build libcurl and libarchive statically
(like we do for Mac and Windows) if the system has older libs,
it's likely that running the software on systems that old may
give other problems as well (e.g. does lsblk --json (util-linux)
and udisks2 work correctly?), so do not bother.

Closes #16
2020-03-09 13:06:23 +01:00
Floris Bos
c04516cbee SD card selection: round size instead of floor, and display decimal
Closes #24
2020-03-09 13:04:59 +01:00
Floris Bos
9a0454d07f Verify error: correct spelling 2020-03-09 13:04:21 +01:00
Floris Bos
a367ed0683 Fix verifying on images that are not dividable by block size 2020-03-06 12:00:46 +01:00
Floris Bos
75feb3e73d Rename imagingutility -> rpi-imager 2020-03-05 15:40:38 +01:00
Floris Bos
0244c5f49e Linux: remove dependency on zlib headers
- We are only using zlib indirectly through libarchive

(For Windows/Mac OS X we do keep requiring zlib headers, as we
need them to build the bundled libarchive on these platforms)
2020-03-05 15:23:24 +01:00
Floris Bos
a3aa3551a8 Cleanup
- Remove old .svg icons and .qml file
2020-03-04 18:40:42 +01:00
Floris Bos
7ef7b9a34c Update README.md 2020-03-04 18:33:49 +01:00
Floris Bos
2ffaf70276 Update README.md
- Fix github address
- Add Mac code signing instructions
2020-03-04 17:05:00 +01:00
Floris Bos
d7b361ba44 Qt/QML edition 2020-03-04 16:55:40 +01:00