Commit graph

12 commits

Author SHA1 Message Date
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
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
73b9ae764d Add localisation support
- Tested with Dutch and Chinese.
- Chinese translation courtesy of @YuzukiTsuru
2020-05-23 15:57:58 +02: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
bd37916527 Mention version number in title bar 2020-03-10 17:43:48 +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
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
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
d7b361ba44 Qt/QML edition 2020-03-04 16:55:40 +01:00