appstream:appstream.git
3 years agotrivial: post release version bump master
Matthias Klumpp [Mon, 26 Jan 2015 18:27:15 +0000 (19:27 +0100)]
trivial: post release version bump

3 years agoRelease version 0.8.0 APPSTREAM_0_8_0
Matthias Klumpp [Mon, 26 Jan 2015 18:20:39 +0000 (19:20 +0100)]
Release version 0.8.0

3 years agotrivial: Fix documentation options
Matthias Klumpp [Mon, 26 Jan 2015 18:06:52 +0000 (19:06 +0100)]
trivial: Fix documentation options

3 years agovalidator: Don't perform sanity checks on the metadata tag
Matthias Klumpp [Mon, 26 Jan 2015 18:01:09 +0000 (19:01 +0100)]
validator: Don't perform sanity checks on the metadata tag

3 years agovalidator: Fix empty-check for description tag
Matthias Klumpp [Mon, 26 Jan 2015 12:10:39 +0000 (13:10 +0100)]
validator: Fix empty-check for description tag

3 years agoInstall prebuilt documentation by default
Matthias Klumpp [Sun, 25 Jan 2015 23:06:36 +0000 (00:06 +0100)]
Install prebuilt documentation by default

3 years agoProperly write localized XML for some tags
Matthias Klumpp [Sun, 25 Jan 2015 15:58:19 +0000 (16:58 +0100)]
Properly write localized XML for some tags

3 years agovalidator: Make it possible to validate a gzip-compressed metadata file
Matthias Klumpp [Sun, 25 Jan 2015 15:25:18 +0000 (16:25 +0100)]
validator: Make it possible to validate a gzip-compressed metadata file

3 years agoImprove database-writing code to ignore NULL values
Matthias Klumpp [Sun, 25 Jan 2015 15:18:46 +0000 (16:18 +0100)]
Improve database-writing code to ignore NULL values

3 years agoAdd missing developer_name to database
Matthias Klumpp [Sun, 25 Jan 2015 15:18:10 +0000 (16:18 +0100)]
Add missing developer_name to database

3 years agoImplement <source_pkgname/> tag
Matthias Klumpp [Sun, 25 Jan 2015 15:05:17 +0000 (16:05 +0100)]
Implement <source_pkgname/> tag

3 years agoUpdate database layout for new fields
Matthias Klumpp [Sun, 25 Jan 2015 14:59:34 +0000 (15:59 +0100)]
Update database layout for new fields

3 years agoUpdate the validator to the latest spec version
Matthias Klumpp [Sun, 25 Jan 2015 14:44:19 +0000 (15:44 +0100)]
Update the validator to the latest spec version

3 years agospec: Specify the <source_pkgname/> tag
Matthias Klumpp [Sun, 25 Jan 2015 14:39:33 +0000 (15:39 +0100)]
spec: Specify the <source_pkgname/> tag

3 years agotrivial: Adjust Travis to pull in Qt5 for build
Matthias Klumpp [Wed, 21 Jan 2015 15:57:45 +0000 (16:57 +0100)]
trivial: Adjust Travis to pull in Qt5 for build

3 years agoMerge pull request #1 from aleixpol/master
Matthias Klumpp [Wed, 21 Jan 2015 15:41:23 +0000 (16:41 +0100)]
Merge pull request #1 from aleixpol/master

Make Qt5 default

3 years agoqt: Implement support for bundles
Matthias Klumpp [Wed, 21 Jan 2015 15:40:43 +0000 (16:40 +0100)]
qt: Implement support for bundles

3 years agoMake Qt5 default
Aleix Pol [Wed, 21 Jan 2015 15:23:18 +0000 (16:23 +0100)]
Make Qt5 default

After discussing with Ximion it, it looks like nobody is using
Appstream-Qt4, so it's fair to just use by default the most common
one.
At some point it will make sense to make it Qt5 only, to take
advantage of Qt5 features. This is just a first step.

3 years agoqt: remove deprecated API
Matthias Klumpp [Wed, 21 Jan 2015 15:22:42 +0000 (16:22 +0100)]
qt: remove deprecated API

3 years agoImplement the <bundle/> tag
Matthias Klumpp [Tue, 20 Jan 2015 18:33:05 +0000 (19:33 +0100)]
Implement the <bundle/> tag

3 years agoMake origin a public property of the metadata generator
Matthias Klumpp [Tue, 20 Jan 2015 17:40:48 +0000 (18:40 +0100)]
Make origin a public property of the metadata generator

3 years agovalidator: Hide pedantic issues by default
Matthias Klumpp [Tue, 20 Jan 2015 17:05:20 +0000 (18:05 +0100)]
validator: Hide pedantic issues by default

3 years agospec: Recommend screenshot sizes for distro-XML
Matthias Klumpp [Tue, 20 Jan 2015 16:21:07 +0000 (17:21 +0100)]
spec: Recommend screenshot sizes for distro-XML

The size guidelines should explain distro-XML generator authors which
sizes they should make available to work well with most software
centers.

3 years agotrivial: Add missing test files
Matthias Klumpp [Tue, 20 Jan 2015 16:04:12 +0000 (17:04 +0100)]
trivial: Add missing test files

3 years agoBump spec version to 0.8
Matthias Klumpp [Tue, 20 Jan 2015 16:04:02 +0000 (17:04 +0100)]
Bump spec version to 0.8

3 years agospec: Make clear that <release/> tags may have a <description/> child
Matthias Klumpp [Tue, 20 Jan 2015 15:32:10 +0000 (16:32 +0100)]
spec: Make clear that <release/> tags may have a <description/> child

Also add information on how it is formatted and translated.

3 years agospec: Allow bundles of type "xdg-app"
Matthias Klumpp [Tue, 20 Jan 2015 15:20:54 +0000 (16:20 +0100)]
spec: Allow bundles of type "xdg-app"

As developed for GNOME, take a look at https://github.com/alexlarsson
/xdg-app for reference.

3 years agotrivial: Add missing vapigen metadata
Matthias Klumpp [Tue, 20 Jan 2015 15:15:57 +0000 (16:15 +0100)]
trivial: Add missing vapigen metadata

3 years agotests: Perform simple test for reading of all languages
Matthias Klumpp [Tue, 20 Jan 2015 15:15:39 +0000 (16:15 +0100)]
tests: Perform simple test for reading of all languages

3 years agotrivial: Refine wording for <bundle/> tag
Matthias Klumpp [Tue, 20 Jan 2015 13:01:44 +0000 (14:01 +0100)]
trivial: Refine wording for <bundle/> tag

3 years agoFix CMakeLists files for version change
Matthias Klumpp [Tue, 20 Jan 2015 12:37:30 +0000 (13:37 +0100)]
Fix CMakeLists files for version change

3 years agospec: Add <bundle/> tag
Matthias Klumpp [Tue, 20 Jan 2015 12:37:08 +0000 (13:37 +0100)]
spec: Add <bundle/> tag

To be used by 3rd-party software installers.

3 years agospec: Allow width and height properties for "local" and "remote" icons
Matthias Klumpp [Tue, 20 Jan 2015 12:08:20 +0000 (13:08 +0100)]
spec: Allow width and height properties for "local" and "remote" icons

3 years agotrivial: The next release will be 0.8
Matthias Klumpp [Tue, 20 Jan 2015 12:02:57 +0000 (13:02 +0100)]
trivial: The next release will be 0.8

3 years agoCorrectly read and propagate language properties
Matthias Klumpp [Mon, 19 Jan 2015 19:06:39 +0000 (20:06 +0100)]
Correctly read and propagate language properties

3 years agoAlways search for data in /usr/share, ignore DATADIR
Matthias Klumpp [Mon, 19 Jan 2015 17:18:20 +0000 (18:18 +0100)]
Always search for data in /usr/share, ignore DATADIR

We hardcode /usr/share/app-info now, just like the other paths, to
prevent suprises about where to place the metadata.

Thanks to Aleix Pol for noticing and reporting this!

3 years agoasi: Always return a valid exit code
Matthias Klumpp [Mon, 19 Jan 2015 16:17:56 +0000 (17:17 +0100)]
asi: Always return a valid exit code

Returning an unitialized exit code is evil.

3 years agoFix a couple of minor issues found by static code analysis
Matthias Klumpp [Mon, 19 Jan 2015 16:17:16 +0000 (17:17 +0100)]
Fix a couple of minor issues found by static code analysis

No security issue (yes!), but some problems which could have manifested
as bugs later.

3 years agoClesan up some dead code in Xapian wrapper
Matthias Klumpp [Mon, 19 Jan 2015 16:15:03 +0000 (17:15 +0100)]
Clesan up some dead code in Xapian wrapper

3 years agotrivial: Refresh translation
Matthias Klumpp [Mon, 19 Jan 2015 16:00:09 +0000 (17:00 +0100)]
trivial: Refresh translation

3 years agotrivial: post release version bump
Matthias Klumpp [Wed, 14 Jan 2015 20:10:20 +0000 (21:10 +0100)]
trivial: post release version bump

3 years agotravis: Change mirror selection
Matthias Klumpp [Wed, 14 Jan 2015 20:09:47 +0000 (21:09 +0100)]
travis: Change mirror selection

3 years agotrivial: Fix GIR compiler warning
Matthias Klumpp [Wed, 14 Jan 2015 19:59:27 +0000 (20:59 +0100)]
trivial: Fix GIR compiler warning

3 years agoRelease version 0.7.6 APPSTREAM_0_7_6
Matthias Klumpp [Wed, 14 Jan 2015 19:57:06 +0000 (20:57 +0100)]
Release version 0.7.6

3 years agoAdd convenience functions to save generated XML
Matthias Klumpp [Wed, 14 Jan 2015 19:48:09 +0000 (20:48 +0100)]
Add convenience functions to save generated XML

3 years agoUpdate translations
Matthias Klumpp [Mon, 12 Jan 2015 21:18:54 +0000 (22:18 +0100)]
Update translations

3 years agotrivial: Update information about AsMetadata's locale property
Matthias Klumpp [Mon, 12 Jan 2015 21:12:43 +0000 (22:12 +0100)]
trivial: Update information about AsMetadata's locale property

3 years agoRemove deprecated symbols and complete multilocale support
Matthias Klumpp [Mon, 12 Jan 2015 20:56:32 +0000 (21:56 +0100)]
Remove deprecated symbols and complete multilocale support

3 years agoBump ABI level: We broke API/ABI heavily already
Matthias Klumpp [Mon, 12 Jan 2015 17:58:34 +0000 (18:58 +0100)]
Bump ABI level: We broke API/ABI heavily already

3 years agoRemove functions marked as deprecated
Matthias Klumpp [Mon, 12 Jan 2015 17:57:47 +0000 (18:57 +0100)]
Remove functions marked as deprecated

3 years agoMake remaining bits of AsComponent translatable
Matthias Klumpp [Mon, 12 Jan 2015 17:56:01 +0000 (18:56 +0100)]
Make remaining bits of AsComponent translatable

3 years agoImplement some more multilanguage stuff for AsComponent
Matthias Klumpp [Mon, 12 Jan 2015 17:16:19 +0000 (18:16 +0100)]
Implement some more multilanguage stuff for AsComponent

This will make AsComponent more versatile.

3 years agoAdd multilanguage support for the name property
Matthias Klumpp [Mon, 12 Jan 2015 00:14:39 +0000 (01:14 +0100)]
Add multilanguage support for the name property

3 years agoConvert AsComponent into a "modern" GObject
Matthias Klumpp [Sun, 11 Jan 2015 23:54:10 +0000 (00:54 +0100)]
Convert AsComponent into a "modern" GObject

Using some GLib smartness

3 years agoMove component serialization to AsMetadata
Matthias Klumpp [Thu, 8 Jan 2015 16:24:09 +0000 (17:24 +0100)]
Move component serialization to AsMetadata

It belongs there, since we will later use properties of AsMetadata to
adjust the XML output.
Some serialization is still in AsComponent, since it is used as database
storage format.

3 years agoBuild distro XML from a list of AsComponent objects
Matthias Klumpp [Thu, 8 Jan 2015 02:14:42 +0000 (03:14 +0100)]
Build distro XML from a list of AsComponent objects

This is still very basic, e.g. translations are not yet supported.
This feature will be added later.

3 years agotrivial: Make compilers happy
Matthias Klumpp [Thu, 8 Jan 2015 01:45:12 +0000 (02:45 +0100)]
trivial: Make compilers happy

3 years agoMore code to allow better serialization of AsComponent objects
Matthias Klumpp [Thu, 8 Jan 2015 01:36:18 +0000 (02:36 +0100)]
More code to allow better serialization of AsComponent objects

3 years agoAllow parsing distro XML in AsMetadata
Matthias Klumpp [Thu, 8 Jan 2015 01:13:28 +0000 (02:13 +0100)]
Allow parsing distro XML in AsMetadata

3 years agoUse colorful output when using GCC in maintainer-mode
Matthias Klumpp [Thu, 8 Jan 2015 01:12:51 +0000 (02:12 +0100)]
Use colorful output when using GCC in maintainer-mode

3 years agoUpdate database location for possible advanced multilanguage support
Matthias Klumpp [Thu, 8 Jan 2015 00:28:34 +0000 (01:28 +0100)]
Update database location for possible advanced multilanguage support

3 years agotrivial: post release version bump
Matthias Klumpp [Fri, 28 Nov 2014 16:55:39 +0000 (17:55 +0100)]
trivial: post release version bump

3 years agoRelease version 0.7.5 APPSTREAM_0_7_5
Matthias Klumpp [Fri, 28 Nov 2014 16:52:04 +0000 (17:52 +0100)]
Release version 0.7.5

3 years agoUpdate translations
Matthias Klumpp [Fri, 28 Nov 2014 16:48:30 +0000 (17:48 +0100)]
Update translations

3 years agoFix origin<->name confusion
Matthias Klumpp [Mon, 24 Nov 2014 22:27:28 +0000 (23:27 +0100)]
Fix origin<->name confusion

3 years agodep11: Fix memory leak in DEP-11 parser
Matthias Klumpp [Mon, 24 Nov 2014 22:27:09 +0000 (23:27 +0100)]
dep11: Fix memory leak in DEP-11 parser

3 years agotrivial: post release version bump
Matthias Klumpp [Thu, 30 Oct 2014 18:27:02 +0000 (19:27 +0100)]
trivial: post release version bump

3 years agodoc: Clarify icon types
Matthias Klumpp [Thu, 30 Oct 2014 18:22:28 +0000 (19:22 +0100)]
doc: Clarify icon types

Improve the section explaining icon types.

3 years agoRelease version 0.7.4 APPSTREAM_0_7_4
Matthias Klumpp [Thu, 30 Oct 2014 18:18:09 +0000 (19:18 +0100)]
Release version 0.7.4

3 years agotrivial: refine Qt component.h docs
Matthias Klumpp [Wed, 29 Oct 2014 19:03:29 +0000 (20:03 +0100)]
trivial: refine Qt component.h docs

3 years agoqt: Add documentation to the deprecated methods
Matthias Klumpp [Wed, 29 Oct 2014 17:34:48 +0000 (18:34 +0100)]
qt: Add documentation to the deprecated methods

3 years agotrivial: Fix recent test failure
Matthias Klumpp [Wed, 29 Oct 2014 17:18:07 +0000 (18:18 +0100)]
trivial: Fix recent test failure

3 years agoDon't query system categories while processing metadata
Matthias Klumpp [Wed, 29 Oct 2014 16:46:56 +0000 (17:46 +0100)]
Don't query system categories while processing metadata

This is a legacy feature which no data provider seems to use anymore.

3 years agoqt: restore ABI compatibility and don't expose the QString-based icon-size-storage
Matthias Klumpp [Wed, 29 Oct 2014 15:46:33 +0000 (16:46 +0100)]
qt: restore ABI compatibility and don't expose the QString-based icon-size-storage

3 years agovalidator: Ensure that stock and cached icons only contain the icon basename
Matthias Klumpp [Wed, 29 Oct 2014 15:35:22 +0000 (16:35 +0100)]
validator: Ensure that stock and cached icons only contain the icon basename

3 years agotrivial: Some doc fixes
Matthias Klumpp [Tue, 28 Oct 2014 14:43:16 +0000 (15:43 +0100)]
trivial: Some doc fixes

3 years agoqt: Implement multisize-icons
Matthias Klumpp [Tue, 28 Oct 2014 14:42:41 +0000 (15:42 +0100)]
qt: Implement multisize-icons

This code is completely untested and needs some review.

3 years agotrivial: Fix some doc warnings
Matthias Klumpp [Sat, 25 Oct 2014 00:39:44 +0000 (02:39 +0200)]
trivial: Fix some doc warnings

3 years agoIf icon is not found, the icon_url_for_size function returns NULL, not emptystring
Matthias Klumpp [Sat, 25 Oct 2014 00:13:41 +0000 (02:13 +0200)]
If icon is not found, the icon_url_for_size function returns NULL, not emptystring

3 years agotrivial: Typo in code comment
Matthias Klumpp [Fri, 24 Oct 2014 18:30:46 +0000 (20:30 +0200)]
trivial: Typo in code comment

3 years agoImplement icon_url_for_size and mark some AsComponent API as deprecated
Matthias Klumpp [Fri, 24 Oct 2014 18:25:38 +0000 (20:25 +0200)]
Implement icon_url_for_size and mark some AsComponent API as deprecated

3 years agoAllow client applications to fetch icons in multiple sizes
Matthias Klumpp [Fri, 24 Oct 2014 17:52:56 +0000 (19:52 +0200)]
Allow client applications to fetch icons in multiple sizes

This fully implements the new feature as specified in the 0.7.3 spec.
Before we only had basic support for the new icon-cache layout.

3 years agoProperly handle origin and icons in size-specific directories
Matthias Klumpp [Tue, 21 Oct 2014 14:58:52 +0000 (16:58 +0200)]
Properly handle origin and icons in size-specific directories

3 years agoCheck if AppInstall directory exists, before attempting to scan it
Matthias Klumpp [Tue, 21 Oct 2014 14:40:47 +0000 (16:40 +0200)]
Check if AppInstall directory exists, before attempting to scan it

3 years agoDon't count it as problem if no metadata is found
Matthias Klumpp [Tue, 21 Oct 2014 11:32:24 +0000 (13:32 +0200)]
Don't count it as problem if no metadata is found

3 years agoAdd local icon directories to the icon search path
Matthias Klumpp [Mon, 20 Oct 2014 16:42:51 +0000 (18:42 +0200)]
Add local icon directories to the icon search path

3 years agodep11: refine quote test
Matthias Klumpp [Fri, 10 Oct 2014 20:35:20 +0000 (22:35 +0200)]
dep11: refine quote test

3 years agotrivial: post release version bump
Matthias Klumpp [Fri, 10 Oct 2014 14:08:21 +0000 (16:08 +0200)]
trivial: post release version bump

3 years agoRelease version 0.7.3 APPSTREAM_0_7_3
Matthias Klumpp [Fri, 10 Oct 2014 14:03:31 +0000 (16:03 +0200)]
Release version 0.7.3

3 years agoFix wrong DATADIR variable
Matthias Klumpp [Thu, 9 Oct 2014 13:17:37 +0000 (15:17 +0200)]
Fix wrong DATADIR variable

3 years agoImplement basic support for the new icon cache layout
Matthias Klumpp [Thu, 9 Oct 2014 13:17:19 +0000 (15:17 +0200)]
Implement basic support for the new icon cache layout

3 years agoInclude QMultiHash
Aleix Pol [Tue, 30 Sep 2014 13:53:11 +0000 (15:53 +0200)]
Include QMultiHash

Otherwise it fails to build on some systems. It's used so it needs
to be pulled.

3 years agospec: Update the icon-cache layout to allow icons with larger sizes
Matthias Klumpp [Fri, 26 Sep 2014 13:15:05 +0000 (15:15 +0200)]
spec: Update the icon-cache layout to allow icons with larger sizes

3 years agoUse the same casing for the AppStream GIR as for anything else
Matthias Klumpp [Wed, 24 Sep 2014 15:36:50 +0000 (17:36 +0200)]
Use the same casing for the AppStream GIR as for anything else

This breaks the GIR API, so depending on the GIR users, we might revert
this change on request.

3 years agoTreat the text/plain mimetype equal to YAML or XML
Matthias Klumpp [Mon, 22 Sep 2014 15:30:09 +0000 (17:30 +0200)]
Treat the text/plain mimetype equal to YAML or XML

3 years agotrivial: post release version bump
Matthias Klumpp [Mon, 22 Sep 2014 14:59:30 +0000 (16:59 +0200)]
trivial: post release version bump

3 years agoRelease version 0.7.2 APPSTREAM_0_7_2
Matthias Klumpp [Mon, 22 Sep 2014 14:56:38 +0000 (16:56 +0200)]
Release version 0.7.2

3 years agoFix pkg-config file
Matthias Klumpp [Mon, 22 Sep 2014 14:55:54 +0000 (16:55 +0200)]
Fix pkg-config file

3 years agotrivial: Update build-dependency description
Matthias Klumpp [Mon, 22 Sep 2014 14:19:36 +0000 (16:19 +0200)]
trivial: Update build-dependency description

3 years agoUse GNUInstallDirs
Matthias Klumpp [Fri, 19 Sep 2014 23:43:17 +0000 (01:43 +0200)]
Use GNUInstallDirs