summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Follow the Debian tilde usage when ordering versionswip/hughsie/tilde-all-powerfulRichard Hughes2018-04-292-1/+31
| | | | | | | Debian requires a custom version of strcmp for the version comparison where tilde is apparently the worst-of-the-worst when checking version segments. Fixes https://github.com/hughsie/appstream-glib/issues/234
* trivial: post release version bumpRichard Hughes2018-04-202-5/+5
|
* Release version 0.7.8appstream_glib_0_7_8Richard Hughes2018-04-2029-1895/+2054
|
* trivial: Don't include the brackets in the version stringRichard Hughes2018-04-191-3/+3
|
* trivial: Prefer the timestamp if set when ordering releasesRichard Hughes2018-04-191-6/+7
| | | | | This means we always order from newest to oldest, even when upstream uses funky versions like '5269+/dag'.
* Add as_version_string() for fwupdRichard Hughes2018-04-193-0/+56
|
* trivial: Do not show a critical warning using appstream-compose on an unknown IDRichard Hughes2018-04-181-1/+8
|
* Never add more than one component to the AppStream store when composingRichard Hughes2018-04-181-0/+6
| | | | | | | | | | If the app has an AppData file with org.gnome.Gimp.appdata.xml that contains <id>org.gnome.Gimp</id> and also a org.gnome.Gimp.desktop then the second gets added as a new component as the .desktop suffix is optional, but allowed for compatibility. Just rename the .desktop component ID in this case to force the app to be subsumed rather than added.
* If the launchable is specified don't guess it when composingRichard Hughes2018-04-181-6/+13
| | | | | This allows us to have an appdata file with <id>org.gnome.Gimp</id> without being forced to rename the gimp.desktop file.
* Add as_store_get_app_by_launchable()Richard Hughes2018-04-182-0/+40
|
* Veto apps that have empty OnlyShowIn=Kalev Lember2018-04-171-1/+4
| | | | | | | | | Apps that have OnlyShowIn= are equivalent to NoDisplay=True (gnome-shell doesn't show them). Veto such apps to avoid them inadvertently showing up in gnome-software and to match gnome-shell behaviour. https://bugzilla.redhat.com/show_bug.cgi?id=1567689 https://gitlab.gnome.org/GNOME/gnome-software/issues/367
* trivial: Add the missing <requires> enum typesRichard Hughes2018-04-122-0/+18
|
* Add support for component agreementsRichard Hughes2018-04-1118-2/+1562
| | | | | This enables a lot of software to comply with the GDPR and also allows us to show translated warning and EULA text to unsuspecting users.
* Correctly compare version numbers like '1.2.3' and '1.2.3a'Richard Hughes2018-04-092-33/+28
| | | | | | Only switch to the string comparison after the numeric part has been used. Fixes https://github.com/hughsie/appstream-glib/issues/231
* Don't include the path component in the name when parsing the package filenameRichard Hughes2018-03-272-5/+17
| | | | | | | | If the guessing fails, we fall back to the arch/rpm/deb-derived name but we don't want to show weird things in the logs. Fixes https://github.com/hughsie/appstream-glib/issues/228, many thanks to Andrew Gunnerson for the initial patch.
* Add as_utils_unique_id_match()Richard Hughes2018-03-153-7/+78
| | | | This allows us to whitelist the sections that have to match.
* trivial: post release version bumpRichard Hughes2018-03-132-5/+5
|
* Release version 0.7.7appstream_glib_0_7_7Richard Hughes2018-03-1330-552/+1080
|
* Use shell-extensions::uuid for custom shell extensions metadata keyKalev Lember2018-03-131-1/+1
| | | | | ... to match with what the shell extensions plugin in gnome-software does.
* trivial: Fix the introspection for as_app_get_metadata()Richard Hughes2018-03-121-1/+1
|
* Always resize AppStream icons to fit the destination sizeRichard Hughes2018-03-092-1/+3
| | | | | Padding is no longer being used as it makes the software center look bad. Lets make the application author look bad instead so they can fix the icon.
* Add AS_IMAGE_LOAD_FLAG_ALWAYS_RESIZE to always resize the pixbufRichard Hughes2018-03-092-0/+13
| | | | This will of course make it look blurry in most cases.
* trivial: Fix up a build warning from a recent commitRichard Hughes2018-03-081-1/+1
|
* Correctly validate files using OR in the metadata_licenseRichard Hughes2018-03-081-10/+38
| | | | | | | | | | | Althought the correct way to do this would be to construct a GTree structure, splitting on AND and brackets, and having children of OR, I don't have a spare weekend to implement this and then write all the tests. This simplistic parser will correctly validate more files and that's good enough for now. Fixes https://github.com/hughsie/appstream-glib/issues/226
* Update the SPDX license list to v3.0Richard Hughes2018-03-083-116/+164
| | | | | | | | | The SPDX team have decided to rename quite a few common tags (with the '-only' and '-or-later') suffixes and this unfortunately breaks the world. Convert the new-style v3 style IDs to the v2 style and thus accept both forms. Fixes https://github.com/hughsie/appstream-glib/issues/225
* trivial: Add missing 'fur' translationRichard Hughes2018-03-011-0/+1
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/224
* Don't abort the build if pngquant failsRichard Hughes2018-03-012-4/+9
| | | | | Sometimes it returns a return code 25088 (which is 0x6200) which isn't an error code in rwpng.h -- we can't really trust pngquant so just log the warning.
* trivial: Never add duplicated <requires> nodes for componentsRichard Hughes2018-02-233-0/+46
|
* Add custom metadata key for shell extension uuidKalev Lember2018-02-221-1/+2
| | | | | ... and convert the appstream ID to be compatible with what gnome-tweaks uses (@'s replaced with _ and no .shell-extension at the end).
* Do not fail to validate if the timestamps are out of orderRichard Hughes2018-02-212-24/+2
| | | | | | | | If we use the same metainfo.xml file for unstable and stable releases we can't sort by 'version' *and* 'timestamp'. Pick the former so versions from the same branch can be grouped together. Fixes https://github.com/hughsie/appstream-glib/issues/222
* Treat pngquant exit code of 98 (nothing done) as successRichard Hughes2018-02-211-1/+1
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/223
* trivial: post release version bumpRichard Hughes2018-02-092-5/+5
|
* Release version 0.7.6appstream_glib_0_7_6Richard Hughes2018-02-092-1/+13
|
* Never include '&' in attribute valuesRichard Hughes2018-01-302-4/+9
| | | | Fixes: https://github.com/hughsie/lvfs-website/issues/33
* Add support for release typesRichard Hughes2018-01-253-4/+115
| | | | These are used to identify development or stable release information.
* Fix an invalid read when using as_app_parse_data() from PythonRichard Hughes2018-01-244-22/+79
| | | | | | | | Using GObject Introspection we were creating an object using GLib.Bytes.new(buf) where buf was a python str object. This created a GBytes object with no trailing NUL char but we were expecting a NUL-terminated string when both doing fnmatch() and also processing the XML. Support this by guarding fnmatch and also by using the string length when using the GMarkupParseContext.
* as-app-desktop: don't deference invalid listsMarco Trevisan (TreviƱo)2018-01-231-4/+4
| | | | | Malformed .desktop files might causes crashes when returned lists are NULL.
* trivial: post release version bumpRichard Hughes2018-01-222-5/+5
|
* Release version 0.7.5appstream_glib_0_7_5Richard Hughes2018-01-2228-174/+711
|
* Don't expect an enum when really passing a bitfieldRichard Hughes2018-01-225-77/+71
| | | | | The size of an enum is undefined for most compilers (although, GCC normally does something sensible) but be explicit to avoid changing ABI accidentally.
* Add more GObject Introspection annotations for PythonRichard Hughes2018-01-224-20/+20
|
* Fix a crash when calling as_release_add_location() directlyRichard Hughes2018-01-221-0/+1
|
* trivial: Add missing types from the IntrospectionRichard Hughes2018-01-221-0/+2
|
* Explicitly require a new enough json-glibRichard Hughes2018-01-151-1/+1
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/218
* trivial: Fix regression when parsing XML AppData filesRichard Hughes2017-12-191-1/+1
|
* Do not use an 'enable' prefix for meson argumentsRichard Hughes2017-12-1814-89/+84
|
* Describe connection problems/HTTP errors when validating imagessuve2017-12-171-3/+11
|
* Add as_app_parse_data()Richard Hughes2017-12-152-37/+63
| | | | This allows us to parse an AsApp object from a blob of memory.
* Add as_store_get_apps_by_provide()Richard Hughes2017-12-143-0/+55
| | | | More than one component in an AppStream file may define the same provide.
* Fix compile with GCab v1.0Richard Hughes2017-12-142-1/+4
|