Commit Graph

22 Commits (9a6bf9505402df3e15541106ecf82dd48187d43b)

Author SHA1 Message Date
Sam Thursfield 66cdd7b197 Document the structs in libxdg-app 2016-01-28 11:26:12 +01:00
Sam Thursfield 5c847d54fa Avoid gtk-doc warnings: multiple ID for constraint linkend
This fixes the huge number of gtk-doc warnings that look like this:

    Warning: multiple "IDs" for constraint linkend: XdgAppRef

Based on:

    https://mail.gnome.org/archives/commits-list/2010-September/msg00222.html
2016-01-28 11:25:34 +01:00
Alexander Larsson de7e19e40f The plural of appdata is appstream 2016-01-18 21:06:42 +01:00
Alexander Larsson 22b30f7074 lib: Add xdg_app_installation_update_appdata_sync 2016-01-15 16:15:25 +01:00
Alexander Larsson 78601a42ce lib: xdg_app_installation_fetch_remote_size_sync 2016-01-14 16:45:44 +01:00
Alexander Larsson 25ef0aaeae lib: Add xdg_app_installation_create_monitor
This just returns a new file monitor for the .changes file.
2015-12-21 11:13:00 +01:00
Alexander Larsson 2f74965935 lib: Add cancellable to Installation constructors 2015-12-18 14:20:28 +01:00
Alexander Larsson fdc9b62988 lib: Always initialize the repo on Installation creation
This means we can fail if the repo doesn't exist yet and we have
no write rights.
2015-12-18 12:27:26 +01:00
Alexander Larsson feed03c284 lib: Expose latest_commit on installed app and let you use it
When updating you can pass flags to not deploy and to not pull.
2015-12-18 12:14:57 +01:00
Alexander Larsson 41b3db5e01 lib: Add xdg_app_installation_list_installed_refs_for_update 2015-12-17 21:37:30 +01:00
Alexander Larsson 3087186a36 lib: Make list_remotes return a GPtrArray 2015-12-17 21:07:52 +01:00
Alexander Larsson 6a507970c5 lib: Move all sync operations from XdgAppRemote to XdgAppInstallation
Its much easier to handle locking etc when all the i/o operations
are on XdgAppInstallation, and the other objects are pure data carriers.
2015-12-17 20:51:59 +01:00
Alexander Larsson 874fce2b77 lib: Move app launching to XdgAppInstallation 2015-12-17 20:34:25 +01:00
Alexander Larsson dd7f18aaf2 lib: Always use "branch" not "version" in API
"version" is really confusin
2015-12-17 20:00:48 +01:00
Alexander Larsson b9c582bc75 lib: Change how listing installed refs work
Now we return a GPtrArray, and the main call returns both apps
and runtimes, and a new _by_kind version lets you get only a specific one.
2015-12-17 19:50:40 +01:00
Alexander Larsson 423a5af15b lib: Add xdg_app_installation_uninstall 2015-12-15 15:07:41 +01:00
Alexander Larsson 4342959f6d lib: Add xdg_app_installation_update 2015-12-15 12:43:56 +01:00
Alexander Larsson 9285d055ab lib: Add xdg_app_installation_install 2015-12-15 12:26:59 +01:00
Alexander Larsson e9d713cb96 lib: Better fix for old glib 2015-12-15 08:37:24 +01:00
Alexander Larsson ca06b3e66f lib: Fix build with older glib 2015-12-14 22:01:21 +01:00
Alexander Larsson a28ced36c7 lib: Add xdg_app_installation_load_app_overrides() 2015-12-08 11:48:22 +01:00
Alexander Larsson 132d1186d9 Initial version of libxdg-app
This is a highlevel library for working with xdg-app without using
the commandline interface. The primary usecase for this is for
creating a graphical frontend for app installation/update.
2015-12-03 22:41:16 +01:00