Commit Graph

9606 Commits

Author SHA1 Message Date
Mario Limonciello
74a67c3cad releasing package fwupd version 0.6.0-1 2015-12-08 13:10:28 -06:00
Mario Limonciello
721ca73423 Generate libdfu* packages for the newly included libdfu support 2015-12-08 13:04:38 -06:00
Mario Limonciello
8e116cf3b9 add gtk-doc-tools to build depends and cleanup after using them. 2015-12-08 13:03:48 -06:00
Mario Limonciello
67e5288b1e update appstream-glib version requirement 2015-12-08 08:49:56 -06:00
Mario Limonciello
50933bff35 Release fwupd 0.6.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJWZbIBAAoJEBesuo36lw4XHwQH/0CO3axyJzuMw4uyO0S9Jqes
 ETrls/EvmJ9RhE6OJM+qXcvgA9dOc6bkpVT7XJ6tOHiiQJdtSNE2IvpkyVqSifIq
 62L/luiTTMjkJSJTqUlSdPfnM/jP3tPSXjEmWqYIY5gX+5GGbZDdFR7cJWQxZe65
 Kf4AoIcTyKW/A7LIEAiDRA3JaRoHO733MFVUc/LcPU0+kVSqRpTBA+K3RNhIBdPr
 Q8bYPsnkQYxP38sVNgtsO/u2BXiGPJ7lhp+hbT7Atu04nMdQtchHadS50c5ifo+b
 sUNyz9a+a63m5xRdPR4S63qWTQJyiD+XeNJuohCv8TIght3iK/VoBQ6ziYz+VU8=
 =MG8y
 -----END PGP SIGNATURE-----

New upstream release (v0.6.0)
2015-12-08 08:46:40 -06:00
Richard Hughes
2aa112465d trivial: Add actual example in the DFU metadata spec document 2015-12-08 08:59:29 +00:00
Mario Limonciello
5c3a12b2ea releasing package fwupd version 0.5.4-2 2015-12-07 21:14:59 -06:00
Mario Limonciello
6f85aed272 Make breaks/replaces versioned 2015-12-07 21:08:43 -06:00
Mario Limonciello
996c2ee228 Adjust binary section for libfwupd-dev 2015-12-07 12:21:37 -06:00
Mario Limonciello
1fc5f4c5f3 rename .install file 2015-12-07 12:16:35 -06:00
Mario Limonciello
e853dbef74 trivial: fix order in debian/control 2015-12-07 12:09:37 -06:00
Mario Limonciello
8b289a226b Rename fwupd-dev to the more conventionally named libfwupd-dev 2015-12-07 12:04:12 -06:00
Mario Limonciello
9310b9e3fe Update copyright for current source 2015-12-07 12:00:47 -06:00
Richard Hughes
9c598d32db trivial: Fix up the man page with corrections from Bastian Ilso 2015-12-07 17:06:51 +00:00
Richard Hughes
e0b417e628 trivial: Update the example spec file to reflect reality 2015-12-07 16:59:21 +00:00
Richard Hughes
1227c73168 trivial: post release version bump 2015-12-07 16:22:37 +00:00
Richard Hughes
280745f5f0 Release fwupd 0.6.0 2015-12-07 16:20:59 +00:00
Richard Hughes
c6519ea4e8 trivial: Add more detail to the man page
Lets face it, flashing firmware is kinda scary so we want to read a bit about
what a command is really going to do before we do anything.
2015-12-07 10:47:17 +00:00
Richard Hughes
f908669642 trivial: Write a proper dfu-tool man page 2015-12-06 20:18:47 +00:00
Richard Hughes
f4e8fe0763 trivial: Fix several trivial warnings on ARM 2015-12-06 17:51:10 +00:00
Richard Hughes
7774f815a7 trivial: Fix clang-spotted hard-to-hit crash in dfu-tool 2015-12-06 16:36:58 +00:00
Richard Hughes
032596e800 libdfu: Fix several reported crashes in the inhex32 import code
This also adds the ability to write simple Intel HEX files too.
2015-12-06 16:27:16 +00:00
Richard Hughes
ccc54ae972 trivial: Add some fuzzing examples for libdfu 2015-12-06 16:27:16 +00:00
Richard Hughes
564303d877 libdfu: Only enumerate the DfuContext when required
This speeds up afl fuzzing significantly.
2015-12-06 16:27:03 +00:00
Richard Hughes
7c37e55459 libdfu: Add support for the draft 'DFU Metadata Table Specification' 2015-12-04 16:01:40 +00:00
Richard Hughes
4545dd70af libdfu: Add DfuCipher which is a property on a target and a firmware file
At the moment we're not doing anything smart other than looking at the
firmware filename, but in the future we might do something better.
2015-12-04 12:58:05 +00:00
Richard Hughes
021f65e370 libdfu: Show better device errors 2015-12-04 12:26:45 +00:00
Mario Limonciello
985c181f18 releasing package fwupd version 0.5.4-1 2015-12-03 16:28:26 -06:00
Mario Limonciello
f90efc3515 Drop compile error patch; upstream 2015-12-03 10:51:15 -06:00
Mario Limonciello
9ed8cd7e95 Release fwupd 0.5.4
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJWTNxIAAoJEBesuo36lw4X9YEH/1Ztr8Na6vJSm+xD2CVBwHXO
 HeZl3qmmOV+iJnEGpVuCg+ykXlOxnV+brddT7mSABhdddnPr8Zi/IojhsVhum80c
 Ivzte1EHipKiq9fb2ZFn+aNTRB67pH0WJ34U8gjuj0QlR2i8pFhmpHc/3rUKqxoQ
 ukv0PIg0DSZM8fslAeC5um7HECRhYCaHAiC+5Rs7bh4ph3OcNgnvpoAOkmbA4lQG
 XXRKShwWnD7Fb636lujKbkJmatlM9+kEMd87IFpWtb71OwbT3xTm6L8eP8gI1RG2
 5+3I4tUapq6cca+fwpcM/jqExhmBlP0FpnnAfQRlcr85nRr8ar4qqDwFIZAo+UY=
 =f4eg
 -----END PGP SIGNATURE-----

Merge tag '0.5.4' into debian

Release fwupd 0.5.4
2015-12-03 10:50:02 -06:00
Richard Hughes
045198d643 libdfu: Add commands to encrypt and decrypt firmware images
This uses XTEA to encrypt and decrypt images in the firmware file, although
I'm open for adding other methods as required.
2015-12-02 15:48:03 +00:00
Richard Hughes
71e55aafeb libdfu: Fix another bug discovered by the fuzzer 2015-12-02 08:29:59 +00:00
Richard Hughes
f7c61fcb18 libdfu: Fix a few crashers found using afl 2015-12-01 15:56:59 +00:00
Richard Hughes
1936e4afb5 libdfu: Display all the files shown with 'dfu-tool dump'
Also, show the file CRC in the debug output.
2015-12-01 14:53:04 +00:00
Richard Hughes
832c334548 Fix compile with --disable-shared 2015-12-01 11:41:16 +00:00
Richard Hughes
14d2b80503 libdfu: Make reading and writing to targets easier to understand
Rename the 'upload' command to read, and 'download' to write to make things
easier for end users. Also, break the last bits of compatibility with dfu-util.
2015-11-30 09:49:25 +00:00
Richard Hughes
84b8d1f2f1 libdfu: Add dfu_firmware_get_image_by_name() 2015-11-30 09:16:58 +00:00
Richard Hughes
9b1349b885 libdfu: Add an explicit 'attach' method
This can also deal with the m-stack quirk in a central place.
2015-11-27 10:54:26 +00:00
Richard Hughes
385bba0ada libdfu: Add a quirk to support DFU runtime-less devices 2015-11-26 18:59:59 +00:00
Richard Hughes
60b7eeeca9 libdfu: Handle cancellation with ctrl+c in dfu-tool 2015-11-26 12:36:53 +00:00
Richard Hughes
ef617dbbc8 trivial: Add DfuContext to the gtk-doc documentation 2015-11-26 12:24:43 +00:00
Richard Hughes
922dbc721a Rescan the DFU device after firmware has been updated 2015-11-25 15:01:18 +00:00
Richard Hughes
a2b2b1cc68 Export the AppStream ID when returning device results
This allows us to match up the AppStream data we've parsed in gnome-software and the firmware update we've got from fwupd. This means we can get access to some of the data that fwupd doesn't care about, for instance the how-to-upgrade screenshots.
2015-11-25 15:00:51 +00:00
Richard Hughes
4bb94e4bcd libdfu: Fix dfu_device_wait_for_replug() so it can work with a DfuContext
Using g_usleep() works for the command line tool, but this starves the event
loop which means we get a flurry of removed:added:removed:added signals once
complete.

The context 'helpfully' sets up the new GUsbDevice which means we're doing
things with DfuTargets without DfuDevices and DfuTargets without GUsbDevices.
Basically, madness ensues.
2015-11-25 13:57:04 +00:00
Richard Hughes
6511f5011f f 5d057a8fce 2015-11-25 13:53:10 +00:00
Richard Hughes
45f7956b97 libdfu: Remove the weak pointer when destroying the DfuTarget
This fixes commit 4d4e91da.
2015-11-25 13:45:06 +00:00
Richard Hughes
93a6edf2c6 trivial: Define the default replug timeout in a central place
Some users were using 2000ms and some the more sane 5000ms.
2015-11-25 13:41:55 +00:00
Richard Hughes
a6778df664 f 5d057a8fce 2015-11-25 13:39:54 +00:00
Richard Hughes
0116028755 libdfu: Verify the GUsbDevice is set before using it
Handling this is important in a library that's going to be (ab)used by people.
2015-11-25 13:39:18 +00:00
Richard Hughes
291e9a6b19 trivial: Remove some dead code 2015-11-25 10:34:34 +00:00