summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app-inf.c
Commit message (Collapse)AuthorAgeFilesLines
* trivial: Fix some typos spotted using codespellRichard Hughes2019-04-081-1/+1
|
* Allow building on WindowsJehan2019-03-261-1/+0
| | | | Signed-off-by: Richard Hughes <richard@hughsie.com>
* Use the SPDX-License-Identifier in all source filesRichard Hughes2019-02-091-15/+1
|
* Remove the inf parsing from appstream-glibRichard Hughes2016-08-221-213/+5
| | | | | | | | | | | I don't want to maintain this large chunk of complex code in the main library, especially as it's basically unused except for the validation of .cab files. The latter has a python implmentation as used on the LVFS, so it's really just dead code now. Move the (unused) implementation to libginf for archival, but leave stubs in to avoid upsetting the API/ABI checkers. We can remove the symbols when we next break soname.
* trivial: Get rid of useless internal-only gtk-doc markupRichard Hughes2016-06-281-6/+0
|
* Rename a symbol to reflect realityRichard Hughes2016-02-251-1/+1
| | | | | | | This has not been an ID kind since spec version 0.5, and it's confusing to have two things in GNOME Software. The old symbols and enumerated types are left to maintain ABI compatibility.
* Do not attempt to parse the version in as_release_set_version()Richard Hughes2015-10-271-1/+6
| | | | | | We only need this in one specific case (from .inf files) and trying to parse all the random version numbers in the Fedora package archive was causing regressions in the builder output.
* Do not use the DriverVersion for the inf file versionRichard Hughes2015-10-181-4/+21
| | | | Fixes half of https://github.com/hughsie/fwupd/issues/34
* Add the ability to parse .cab archives as AppStream storesRichard Hughes2015-10-071-12/+10
| | | | This allows us to store multiple components inside an archive.
* trivial: Drop as-cleanup.h include where not neededKalev Lember2015-09-081-1/+0
|
* Use GLib's cleanup functions instead of libgsystem'sKalev Lember2015-09-081-21/+21
| | | | | | | We still have a few types that don't support g_autoptr(), but very very close to having everything ported over. This also bumps gdk-pixbuf dep to 2.31.5 for the cleanup macro support.
* Add support for the flashed firmware provide kindRichard Hughes2015-08-101-20/+39
| | | | | | This allows us to have an ID that isn't tied to the GUID, and also allows us to have one component that targets more than one ESRT GUID. This requires changing the matching logic better, but should match what makes it into AppStream 0.9
* Make the DriverVer in the .inf file optionalRichard Hughes2015-08-051-7/+20
| | | | | | This allows the release engineer to _only_ update the metainfo.xml file for each release. If the firmware.inf file is not being used in Windows for driver installation then we should make the file static.
* Drop the unused _len arguments on many functionsRichard Hughes2015-08-031-9/+9
| | | | | | Using the length of -1 for 'unknown' breaks the GIR-generated bindings. This breaks API and ABI and the soname has been updated to reflect this.
* Do not parse non-standard sections in .inf filesRichard Hughes2015-07-231-11/+0
| | | | It makes the story unclear when there are two ways of specifying the location.
* Do not expect the INF ClassGuid to be the ESRT GUIDRichard Hughes2015-07-031-11/+31
| | | | | | | | | | | | | | | | I misunderstood the role of the ClassGuid for UEFI firmware. It is not supposed to be the ESRT GUID, but instead a generic 'firmware' GUID set by Microsoft. The actual ESRT is set as a FirmwareID registry key only, so learn how to parse the HK section and fix up all the unit tests. As there are .cab files in the wild (cough, ColorHug, cough) that set the device ID as the ClassGuid, fall back to this to maintain compatibility with either method. Many thanks to Mario Limonciello for helping to debug this. See https://msdn.microsoft.com/en-us/library/windows/hardware/ff547502%28v=vs.85%29.aspx for more information.
* trivial: Set the catalog basename as additional metadataRichard Hughes2015-04-221-0/+6
|
* Support parsing .inf files into an AsAppRichard Hughes2015-03-091-0/+187