appstream:appstream.git
4 years agoMore C conversions, getting ready for the final round ccode
Matthias Klumpp [Tue, 25 Mar 2014 23:16:39 +0000 (00:16 +0100)]
More C conversions, getting ready for the final round

This code is completely UNTESTED!
I will test and debug it as soon as it is complete again and API
compatibility has been mostly restored.

4 years agoMore C conversions, handle with care!
Matthias Klumpp [Mon, 24 Mar 2014 23:34:11 +0000 (00:34 +0100)]
More C conversions, handle with care!

4 years agospecs: Update project mission statement
Matthias Klumpp [Mon, 24 Mar 2014 23:33:46 +0000 (00:33 +0100)]
specs: Update project mission statement

4 years agoInitial bits for the C conversion
Matthias Klumpp [Sat, 22 Mar 2014 00:20:31 +0000 (01:20 +0100)]
Initial bits for the C conversion

4 years agotrivial: Fix error in spec XML
Matthias Klumpp [Thu, 20 Mar 2014 18:40:54 +0000 (19:40 +0100)]
trivial: Fix error in spec XML

4 years agoDrop AppInfo, we work with the Component class exclusively now
Matthias Klumpp [Thu, 20 Mar 2014 18:39:31 +0000 (19:39 +0100)]
Drop AppInfo, we work with the Component class exclusively now

4 years agospec: Add component type for codecs
Matthias Klumpp [Thu, 20 Mar 2014 18:19:15 +0000 (19:19 +0100)]
spec: Add component type for codecs

4 years agospec: Hide fonts for now - the spec is not yet ready
Matthias Klumpp [Thu, 20 Mar 2014 18:00:52 +0000 (19:00 +0100)]
spec: Hide fonts for now - the spec is not yet ready

4 years agospec: Clarify how the description tag should be translated
Matthias Klumpp [Thu, 20 Mar 2014 17:57:18 +0000 (18:57 +0100)]
spec: Clarify how the description tag should be translated

4 years agospecs: Allow more url types
Matthias Klumpp [Thu, 20 Mar 2014 17:49:20 +0000 (18:49 +0100)]
specs: Allow more url types

4 years agospecs: Add <releases/> parent for release tags
Matthias Klumpp [Thu, 20 Mar 2014 17:38:03 +0000 (18:38 +0100)]
specs: Add <releases/> parent for release tags

4 years agospec: Component-type is "desktop" for apps now
Matthias Klumpp [Thu, 20 Mar 2014 17:25:40 +0000 (18:25 +0100)]
spec: Component-type is "desktop" for apps now

This change will allow different kinds of apps in future.

4 years agoAdd new AsComponent class
Matthias Klumpp [Thu, 20 Mar 2014 00:10:53 +0000 (01:10 +0100)]
Add new AsComponent class

This is just a temporary split, we might later drop AppInfo entirely and
have all information in the component class.

4 years agospec: Define icon repository
Matthias Klumpp [Wed, 19 Mar 2014 17:01:08 +0000 (18:01 +0100)]
spec: Define icon repository

4 years agospec: Add "origin" property for components tag
Matthias Klumpp [Wed, 19 Mar 2014 17:00:55 +0000 (18:00 +0100)]
spec: Add "origin" property for components tag

4 years agotrivial: the man with the red hat
Matthias Klumpp [Wed, 19 Mar 2014 16:37:27 +0000 (17:37 +0100)]
trivial: the man with the red hat

4 years agospecs: Add new <architectures/> tag to Appstream distro spec
Matthias Klumpp [Tue, 18 Mar 2014 21:36:10 +0000 (22:36 +0100)]
specs: Add new <architectures/> tag to Appstream distro spec

4 years agospecs: Update Appstream example XML for latest changes
Matthias Klumpp [Tue, 18 Mar 2014 21:30:17 +0000 (22:30 +0100)]
specs: Update Appstream example XML for latest changes

4 years agospec: All upstream meta-info goes to /usr/share/appdata now
Matthias Klumpp [Tue, 18 Mar 2014 21:22:32 +0000 (22:22 +0100)]
spec: All upstream meta-info goes to /usr/share/appdata now

As discussed and agreed about on IRC, although I don't like it much ;-)

4 years agospec: Don't use specialized tags, everything is a component. Kill <id/> types
Matthias Klumpp [Tue, 18 Mar 2014 21:20:16 +0000 (22:20 +0100)]
spec: Don't use specialized tags, everything is a component. Kill <id/> types

As discussed on IRC, the first batch of changes.

4 years agodocs: Clarify font classifier
Matthias Klumpp [Tue, 18 Mar 2014 19:39:56 +0000 (20:39 +0100)]
docs: Clarify font classifier

4 years agotrivial: Adjust release info to reality
Matthias Klumpp [Tue, 18 Mar 2014 18:28:14 +0000 (19:28 +0100)]
trivial: Adjust release info to reality

4 years agoRevert namespace change again
Matthias Klumpp [Tue, 18 Mar 2014 18:28:08 +0000 (19:28 +0100)]
Revert namespace change again

4 years agodocs: Some final updates for component ASXML
Matthias Klumpp [Sat, 15 Mar 2014 21:21:17 +0000 (22:21 +0100)]
docs: Some final updates for component ASXML

4 years agodocs: Some initial changes on ASXML for component-support
Matthias Klumpp [Sat, 15 Mar 2014 20:21:24 +0000 (21:21 +0100)]
docs: Some initial changes on ASXML for component-support

4 years agodocs: Add description of input-method metainfo
Matthias Klumpp [Sat, 15 Mar 2014 20:09:45 +0000 (21:09 +0100)]
docs: Add description of input-method metainfo

4 years agotrivial: Make examples nicer
Matthias Klumpp [Sat, 15 Mar 2014 20:03:32 +0000 (21:03 +0100)]
trivial: Make examples nicer

4 years agodocs: Add more fontdata pieces
Matthias Klumpp [Sat, 15 Mar 2014 19:46:52 +0000 (20:46 +0100)]
docs: Add more fontdata pieces

4 years agodocs: Add initial FontData meta-info spec
Matthias Klumpp [Sat, 15 Mar 2014 17:35:08 +0000 (18:35 +0100)]
docs: Add initial FontData meta-info spec

4 years agodocs: Add specification of AppData
Matthias Klumpp [Sat, 15 Mar 2014 17:34:53 +0000 (18:34 +0100)]
docs: Add specification of AppData

4 years agodocs: Initial documentation on components and lots of restructuring
Matthias Klumpp [Thu, 13 Mar 2014 23:43:33 +0000 (00:43 +0100)]
docs: Initial documentation on components and lots of restructuring

4 years agoRevert Appstream namespace change
Matthias Klumpp [Sat, 8 Mar 2014 14:06:49 +0000 (15:06 +0100)]
Revert Appstream namespace change

4 years agoMake AppStream C API nice and fix namespace issues
Matthias Klumpp [Sun, 23 Feb 2014 23:26:26 +0000 (00:26 +0100)]
Make AppStream C API nice and fix namespace issues

This will break almost all public API, but it's worth it (and will only
happen once, we won't change this again)

4 years agoUse sane type names in C code
Matthias Klumpp [Sun, 23 Feb 2014 22:45:19 +0000 (23:45 +0100)]
Use sane type names in C code

WARNING: This will break API/ABI. Maybe needs to be reverted or a better solution has to be found.

4 years agoMake parallel compilation possible
Matthias Klumpp [Sun, 23 Feb 2014 22:22:58 +0000 (23:22 +0100)]
Make parallel compilation possible

4 years agotrivial: Update l10n template
Matthias Klumpp [Sun, 23 Feb 2014 15:02:30 +0000 (16:02 +0100)]
trivial: Update l10n template

4 years agotrivial: post release version bump
Matthias Klumpp [Sun, 23 Feb 2014 15:00:20 +0000 (16:00 +0100)]
trivial: post release version bump

4 years agoRelease version 0.5 APPSTREAM_0_5
Matthias Klumpp [Sun, 23 Feb 2014 14:51:30 +0000 (15:51 +0100)]
Release version 0.5

4 years agotrivial: Fix database-read testcase
Matthias Klumpp [Sun, 23 Feb 2014 14:45:29 +0000 (15:45 +0100)]
trivial: Fix database-read testcase

4 years agoFix some strange vala compile issue with newer valac versions
Matthias Klumpp [Sun, 23 Feb 2014 14:45:18 +0000 (15:45 +0100)]
Fix some strange vala compile issue with newer valac versions

4 years agoImprove Xapian search capabilities
Matthias Klumpp [Sun, 23 Feb 2014 14:17:49 +0000 (15:17 +0100)]
Improve Xapian search capabilities

We didn't add enough data to the index before for efficient searching.
That is fixed with this commit.

4 years agoImprove screenshot handling and apply some fixes for it
Matthias Klumpp [Sun, 23 Feb 2014 14:17:03 +0000 (15:17 +0100)]
Improve screenshot handling and apply some fixes for it

4 years agoclient: Allow the tool to trigger cache rebuilds
Matthias Klumpp [Sun, 23 Feb 2014 13:25:14 +0000 (14:25 +0100)]
client: Allow the tool to trigger cache rebuilds

4 years agotrivial: Some trivial doc changes
Matthias Klumpp [Sun, 23 Feb 2014 01:11:13 +0000 (02:11 +0100)]
trivial: Some trivial doc changes

4 years agotrivial: Various versioning changes
Matthias Klumpp [Sun, 23 Feb 2014 01:05:19 +0000 (02:05 +0100)]
trivial: Various versioning changes

4 years agoAlways compile tests
Matthias Klumpp [Sun, 23 Feb 2014 01:04:38 +0000 (02:04 +0100)]
Always compile tests

4 years agoAdd new API to return available screenshot sizes
Matthias Klumpp [Sun, 23 Feb 2014 00:58:50 +0000 (01:58 +0100)]
Add new API to return available screenshot sizes

4 years agocli: Display some screenshot information, if it is found
Matthias Klumpp [Sun, 23 Feb 2014 00:58:32 +0000 (01:58 +0100)]
cli: Display some screenshot information, if it is found

4 years agoAdd colored output to the command-line tool
Matthias Klumpp [Sun, 23 Feb 2014 00:58:04 +0000 (01:58 +0100)]
Add colored output to the command-line tool

4 years agotrivial: Update PK bindings
Matthias Klumpp [Sat, 22 Feb 2014 23:51:17 +0000 (00:51 +0100)]
trivial: Update PK bindings

4 years agoDon't throw an error if we are on a system without the ASXML dir
Matthias Klumpp [Sat, 22 Feb 2014 23:45:12 +0000 (00:45 +0100)]
Don't throw an error if we are on a system without the ASXML dir

Although every system should have that dir, of course ;-)

4 years agoAlways rebuild the database if watchfile is missing
Matthias Klumpp [Sat, 22 Feb 2014 23:40:27 +0000 (00:40 +0100)]
Always rebuild the database if watchfile is missing

4 years agoAdd screenshot data to the Xapian database
Matthias Klumpp [Sat, 22 Feb 2014 23:14:09 +0000 (00:14 +0100)]
Add screenshot data to the Xapian database

4 years agoAdd thumbnails and caption to internal XML
Matthias Klumpp [Sat, 22 Feb 2014 22:25:04 +0000 (23:25 +0100)]
Add thumbnails and caption to internal XML

4 years agospec: Add cpation for screenshots
Matthias Klumpp [Sat, 22 Feb 2014 21:57:50 +0000 (22:57 +0100)]
spec: Add cpation for screenshots

4 years agodocs: Remove reference to OCS from images
Matthias Klumpp [Sun, 26 Jan 2014 19:13:41 +0000 (20:13 +0100)]
docs: Remove reference to OCS from images

4 years agodocs: Add some explanatory graphics for libappstream
Matthias Klumpp [Mon, 20 Jan 2014 12:23:14 +0000 (13:23 +0100)]
docs: Add some explanatory graphics for libappstream

4 years agodocs: Update pure architecture image
Matthias Klumpp [Sun, 19 Jan 2014 01:30:57 +0000 (02:30 +0100)]
docs: Update pure architecture image

4 years agoFix some memory leaks
Matthias Klumpp [Sat, 9 Nov 2013 01:20:34 +0000 (02:20 +0100)]
Fix some memory leaks

4 years agoAdd function to dump screenshot data as XML
Matthias Klumpp [Sat, 9 Nov 2013 01:14:12 +0000 (02:14 +0100)]
Add function to dump screenshot data as XML

4 years agodocs: Fix some quirks
Matthias Klumpp [Fri, 8 Nov 2013 23:23:40 +0000 (00:23 +0100)]
docs: Fix some quirks

4 years agoParse screenshot data and make it available via library API
Matthias Klumpp [Fri, 8 Nov 2013 23:11:44 +0000 (00:11 +0100)]
Parse screenshot data and make it available via library API

4 years agospec: Deprecate appcategory element in favour of category element
Matthias Klumpp [Mon, 4 Nov 2013 19:22:42 +0000 (20:22 +0100)]
spec: Deprecate appcategory element in favour of category element

Both tags have to be supported for quite some time...

4 years agoAlways install appstream.pc in correct libdir
Matthias Klumpp [Sun, 20 Oct 2013 17:06:36 +0000 (19:06 +0200)]
Always install appstream.pc in correct libdir

4 years agotrivial: docs: Include RevisionHistory, publican wants it
Matthias Klumpp [Sun, 20 Oct 2013 14:26:10 +0000 (16:26 +0200)]
trivial: docs: Include RevisionHistory, publican wants it

4 years agotrivial: post release version bump
Matthias Klumpp [Sun, 20 Oct 2013 14:25:45 +0000 (16:25 +0200)]
trivial: post release version bump

4 years agoRelease version 0.4.0 APPSTREAM_0_4_0
Matthias Klumpp [Sun, 20 Oct 2013 14:09:18 +0000 (16:09 +0200)]
Release version 0.4.0

4 years agoFix api-doc generation
Matthias Klumpp [Sun, 20 Oct 2013 14:08:39 +0000 (16:08 +0200)]
Fix api-doc generation

4 years agoStore app homepage and iconpath correctly in new database layout
Matthias Klumpp [Sat, 19 Oct 2013 18:10:10 +0000 (20:10 +0200)]
Store app homepage and iconpath correctly in new database layout

4 years agoAdd all necessary bits to regenerate PK Vapi files
Matthias Klumpp [Fri, 18 Oct 2013 21:11:09 +0000 (23:11 +0200)]
Add all necessary bits to regenerate PK Vapi files

4 years agoOnly rebuild AppStream Xapian cache if data has changed
Matthias Klumpp [Fri, 18 Oct 2013 19:42:30 +0000 (21:42 +0200)]
Only rebuild AppStream Xapian cache if data has changed

4 years agoAlways process AppStream XML data
Matthias Klumpp [Mon, 14 Oct 2013 22:17:20 +0000 (00:17 +0200)]
Always process AppStream XML data

4 years agoUpdate database schema, breaking USC compatibility
Matthias Klumpp [Mon, 14 Oct 2013 22:08:44 +0000 (00:08 +0200)]
Update database schema, breaking USC compatibility

In order to support some newer AppStream features, the database schema
needed to be cleaned up.
We are now no longer compatible with the USC, but that doesn't matter at
all.

4 years agospec: Add new compulsory_for_desktop tag
Matthias Klumpp [Mon, 14 Oct 2013 17:05:15 +0000 (19:05 +0200)]
spec: Add new compulsory_for_desktop tag

The compulsory_for_desktop indicates whether an application is
compulsory for a desktop-environment's functionality and should
therefore not be removed.
See the documentation for details on this.

4 years agospec: Add screenshots to the AppStream XML spec
Matthias Klumpp [Tue, 8 Oct 2013 08:23:46 +0000 (01:23 -0700)]
spec: Add screenshots to the AppStream XML spec

4 years agoFix crash in AppStream PackageKit plugin
Matthias Klumpp [Mon, 7 Oct 2013 07:33:44 +0000 (00:33 -0700)]
Fix crash in AppStream PackageKit plugin

The crash on database initialization was caused by an implicit
declaration of the init function in Vala-generated C code, which
resulted in a pointer size which was too small to contain the
DatabaseWrite pointer. Due to some sideeffects, this bug was only
triggered by the PackageKit daemon.
Many thanks to Thiago Macieira for resolving this issue!

Signed-off-by: Matthias Klumpp <matthias@tenstral.net>
4 years agoUse typedefs to define Xapian helper objects and update license info
Matthias Klumpp [Sat, 5 Oct 2013 08:40:09 +0000 (01:40 -0700)]
Use typedefs to define Xapian helper objects and update license info

4 years agoEnsure we do always target the right GLib version
Matthias Klumpp [Wed, 2 Oct 2013 03:56:43 +0000 (20:56 -0700)]
Ensure we do always target the right GLib version

4 years agoParse description tags in AppStream XML
Matthias Klumpp [Tue, 1 Oct 2013 06:26:55 +0000 (23:26 -0700)]
Parse description tags in AppStream XML

4 years agoSupport all icon types in AppStream XML parser
Matthias Klumpp [Tue, 1 Oct 2013 06:25:25 +0000 (23:25 -0700)]
Support all icon types in AppStream XML parser

4 years agotrivial: icon-type is cached, not cache
Matthias Klumpp [Mon, 30 Sep 2013 08:10:38 +0000 (01:10 -0700)]
trivial: icon-type is cached, not cache

4 years agotrivial: Fix some typos... it's Docbook, not Mallard
Matthias Klumpp [Mon, 30 Sep 2013 07:57:12 +0000 (00:57 -0700)]
trivial: Fix some typos... it's Docbook, not Mallard

4 years agodocs: Specify how icons will be handled and which ones take priority
Matthias Klumpp [Mon, 30 Sep 2013 07:52:44 +0000 (00:52 -0700)]
docs: Specify how icons will be handled and which ones take priority

4 years agospec: Define and describe project_license tag
Matthias Klumpp [Mon, 30 Sep 2013 07:52:17 +0000 (00:52 -0700)]
spec: Define and describe project_license tag

4 years agotrivial: Tweak maintainer CFlags
Matthias Klumpp [Mon, 30 Sep 2013 07:21:16 +0000 (00:21 -0700)]
trivial: Tweak maintainer CFlags

4 years agospec: Enforce at least one id, pkgname, name, summary and icon tag
Matthias Klumpp [Mon, 30 Sep 2013 07:20:58 +0000 (00:20 -0700)]
spec: Enforce at least one id, pkgname, name, summary and icon tag

4 years agotrivial: typo in docs
Matthias Klumpp [Mon, 30 Sep 2013 07:09:58 +0000 (00:09 -0700)]
trivial: typo in docs

4 years agoImplement support for compressed AppStream files
Matthias Klumpp [Mon, 30 Sep 2013 04:47:43 +0000 (21:47 -0700)]
Implement support for compressed AppStream files

4 years agodocs: Include preexisting architecture graphics and fix some quirks
Matthias Klumpp [Sun, 29 Sep 2013 09:06:16 +0000 (02:06 -0700)]
docs: Include preexisting architecture graphics and fix some quirks

4 years agodocs: Add smaller AppStream example
Matthias Klumpp [Sun, 29 Sep 2013 08:53:00 +0000 (01:53 -0700)]
docs: Add smaller AppStream example

4 years agodocs: Include apidocs when assembling output html-export dir
Matthias Klumpp [Sun, 29 Sep 2013 08:41:20 +0000 (01:41 -0700)]
docs: Include apidocs when assembling output html-export dir

4 years agodocs: Briefly describe the screenshot service
Matthias Klumpp [Sun, 29 Sep 2013 08:35:48 +0000 (01:35 -0700)]
docs: Briefly describe the screenshot service

4 years agodocs: Add example XML for AppStream files
Matthias Klumpp [Sun, 29 Sep 2013 08:35:34 +0000 (01:35 -0700)]
docs: Add example XML for AppStream files

4 years agospec: Add documentation tag to the AppStream spec
Matthias Klumpp [Sun, 29 Sep 2013 07:58:52 +0000 (00:58 -0700)]
spec: Add documentation tag to the AppStream spec

4 years agodocs: Document appcategories tag
Matthias Klumpp [Sun, 29 Sep 2013 07:57:33 +0000 (00:57 -0700)]
docs: Document appcategories tag

4 years agospec: The "remote" type is much more precise than "url"
Matthias Klumpp [Sun, 29 Sep 2013 07:45:28 +0000 (00:45 -0700)]
spec: The "remote" type is much more precise than "url"

4 years agoMore documentation
Matthias Klumpp [Sun, 29 Sep 2013 07:43:39 +0000 (00:43 -0700)]
More documentation

4 years agoSet has_type_id=false for Xapian binding
Matthias Klumpp [Sun, 29 Sep 2013 01:16:37 +0000 (18:16 -0700)]
Set has_type_id=false for Xapian binding

4 years agoFix manpage installation
Matthias Klumpp [Sun, 29 Sep 2013 00:50:17 +0000 (17:50 -0700)]
Fix manpage installation

4 years agoAdd some more documentation
Matthias Klumpp [Sun, 29 Sep 2013 00:20:06 +0000 (17:20 -0700)]
Add some more documentation