summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-inf.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the inf parsing from appstream-glibRichard Hughes2016-08-221-826/+17
| | | | | | | | | | | 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.
* Add two new GCC warnings and fix up signed/unsigned issuesRichard Hughes2016-07-251-5/+5
|
* trivial: Get rid of useless internal-only gtk-doc markupRichard Hughes2016-06-281-56/+0
|
* trivial: Fix FALSE/NULL confusion spotted with GCC6Richard Hughes2016-03-031-1/+1
|
* trivial: Use G_DEFINE_QUARKKalev Lember2016-01-211-8/+1
|
* Automatically add missing .inf types as requiredRichard Hughes2016-01-131-0/+21
| | | | | Some .inf files miss the vital [Strings] section, which I think is actually required for MS HWQL.
* Use glib's cleanup functions for GStringKalev Lember2015-09-101-2/+2
| | | | ... and bump glib dep to 2.45.8 for g_autoptr(GString) support.
* Use GLib's cleanup functions instead of libgsystem'sKalev Lember2015-09-081-23/+23
| | | | | | | 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.
* Make the DriverVer in the .inf file optionalRichard Hughes2015-08-051-1/+1
| | | | | | 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.
* Do not expect the INF ClassGuid to be the ESRT GUIDRichard Hughes2015-07-031-0/+43
| | | | | | | | | | | | | | | | 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.
* Assume the INF DriverVer is UTCRichard Hughes2015-03-251-4/+4
| | | | Fixes: https://github.com/hughsie/appstream-glib/issues/44
* trivial: Make the UTF-8 test actually match the commentRichard Hughes2015-03-111-1/+1
|
* Support Dirids in .inf filesRichard Hughes2015-03-091-0/+21
| | | | | A Dirid is a number that maps to a location in Windows, e.g. '%12%' corresponds to '%SystemRoot%\system32\drivers'
* Make the .inf parser compatible with more filesRichard Hughes2015-03-081-0/+912