Commit Graph

180 Commits

Author SHA1 Message Date
Alexander Larsson
a304b786f4 installation_fetch_remote_size_sync: Always fail with deprecation error
This is not supported anymore since it was replaced with the summary cache.
Remove the code so nothing accidentally uses it.
2016-04-27 09:29:48 +02:00
Alexander Larsson
2a46f3277c Add xdg_app_dir_install/update helpers
These don't do much atm, but will let us clean up the child_repo handling
2016-04-26 16:24:09 +02:00
Alexander Larsson
b2b05e1175 update/install: Handle deploy using the system service 2016-04-25 18:59:17 +02:00
Alexander Larsson
7d509ab93a Fix confusion about GError types
This was pretty mixed up. Also XdgAppError was not exported.
2016-04-21 20:59:30 +02:00
Alexander Larsson
d314df07c1 Add xdg_app_dir_deploy_install helper 2016-04-21 20:59:26 +02:00
Alexander Larsson
91eda8919e common: Move duplicated code into xdg_app_dir_deploy_update 2016-04-21 20:19:01 +02:00
Alexander Larsson
1c1bc4acca common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundle
The only difference is it takes an OstreeRepo, not a XdgAppDir, so we
can use it at a lower level too.
2016-04-19 13:31:55 +02:00
Alexander Larsson
fe1004f6af xdg_app_installation_fetch_remote_metadata_sync2: Fix docs cut and paste issue 2016-04-14 19:31:46 +02:00
Alexander Larsson
1dd993cad6 lib: Add new cache based getters for metadata and size 2016-04-14 19:29:40 +02:00
Alexander Larsson
3cc45ccf13 Add support for subpath limited installs
This allows you to install e.g. org.freedesktop.Platform.Locale
but only the /sv subdir, and replaces using separate branches for
each locale.
2016-04-07 20:36:53 +02:00
Matthias Clasen
3b76c3523a docs: Document XdgProgressCallback 2016-03-25 11:49:34 -04:00
Matthias Clasen
516432740d doc: Add xdg_app_installation_install_bundle 2016-03-25 11:36:20 -04:00
Matthias Clasen
1e60358980 docs: Fix a typo 2016-03-25 11:33:30 -04:00
Matthias Clasen
4c8a74e581 XdgAppRemote: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
842fc72342 XdgAppRemoteRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
c18a0d7412 XdgAppInstalledRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
7c01993792 XdgAppRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
13a3798bf8 XdgAppInstallation: Add documentation 2016-03-25 10:53:27 -04:00
Matthias Clasen
79d152b7ff XdgAppError: Add documentation 2016-03-25 10:53:27 -04:00
Matthias Clasen
38ce9f5cfa version information: Add documentaiton 2016-03-25 10:53:27 -04:00
Matthias Clasen
7f058566f8 XdgAppInstallation: Fix a doc typo 2016-03-25 10:53:27 -04:00
Alexander Larsson
87be89a7b8 lib: Add xdg_app_bundle_ref_get_origin() 2016-02-26 14:20:28 +01:00
Alexander Larsson
1ee1ed6eb9 lib: Fix a tiny leak 2016-02-26 14:17:07 +01:00
Alexander Larsson
38c24d536a Update test-lib.c with the appstream api change 2016-02-26 12:53:47 +01:00
Alexander Larsson
d43d8cd8c8 Change xdg_app_bundle_ref_get_appdata to xdg_app_bundle_ref_get_appstream
This is technically an ABI break, but nothing is using this yet.
2016-02-26 12:52:38 +01:00
Alexander Larsson
26c2bb1b81 lib: Add xdg_app_bundle_ref_get_installed_size() 2016-02-25 21:34:44 +01:00
Alexander Larsson
0e1d83e94c lib: Add XdgAppBundleRef api to get appdata and icons 2016-02-25 20:12:04 +01:00
Alexander Larsson
6c5e1a8a92 Fix some compiler warning (unused vars) 2016-02-25 16:09:49 +01:00
Alexander Larsson
382ae396b3 lib: Add xdg_app_installation_install_bundle 2016-02-25 16:05:13 +01:00
Alexander Larsson
69052c7d9a lib: Add XdgAppBundleRef 2016-02-24 14:44:16 +01:00
Alexander Larsson
ca4187ac27 Fix typos in header 2016-02-24 13:48:03 +01:00
Alexander Larsson
3d18255ba3 Add xdg_app_installation_get_remote_by_name 2016-02-18 11:40:48 +01:00
Alexander Larsson
e0b08161d7 lib: Add xdg_app_installation_get_path 2016-02-16 16:30:33 +01:00
Alexander Larsson
ac851cae9e lib: Return GBytes from xdg_app_installed_ref_load_metadata()
This is an ABI break, but nothing uses this yet.
2016-02-16 16:11:01 +01:00
Alexander Larsson
93006c5a40 Update exports on uninstall via library too 2016-02-09 16:17:02 +01:00
Richard Hughes
79aacf0640 lib: Fix crash during uninstall 2016-02-03 11:00:25 +01:00
Alexander Larsson
77ae6b1df0 lib: Fix up doc details 2016-01-28 11:37:35 +01:00
Alexander Larsson
fba7408d53 lib: Add some missing docs 2016-01-28 11:36:07 +01:00
Sam Thursfield
68c0e04adc Fix some misc. gtk-doc warnings 2016-01-28 11:26:29 +01:00
Sam Thursfield
66cdd7b197 Document the structs in libxdg-app 2016-01-28 11:26:12 +01:00
Sam Thursfield
dcf1df2454 Complete documentation for XdgAppInstallation 2016-01-28 11:25:50 +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
7940a773ef Always build libxmlapp 2016-01-22 22:19:52 +01:00
Alexander Larsson
f363fddd32 lib: Properly finishe OstreeAsyncProgress objects 2016-01-22 15:14:36 +01:00
Alexander Larsson
42f069dd5f lib: Add xdg_app_ref_parse 2016-01-20 17:11:14 +01:00
Alexander Larsson
8da9d592ba appstream: Add timestamp which is updated each time the appstream is pulled 2016-01-20 15:14:01 +01:00
Alexander Larsson
df44834b0c Revert "lib: Allow passing NULL for remote name in update_appstream"
This reverts commit 9a185947a3.

This was problematic wrt how partial errors are reported
2016-01-19 22:06:06 +01:00
Alexander Larsson
9a185947a3 lib: Allow passing NULL for remote name in update_appstream 2016-01-19 21:59:43 +01:00
Alexander Larsson
388d3ce500 lib: update_appstream - work around main context issue 2016-01-19 18:57:19 +01:00
Alexander Larsson
1d89c2fcab lib: Add xdg_app_remote_get_appstream_dir 2016-01-19 15:18:44 +01:00