Alexander Larsson
3dc56a65de
helper: Properly unescape strings
2015-12-15 14:35:18 +01:00
Alexander Larsson
43a09b3646
Fix unused variable warnings
2015-12-15 14:34:52 +01:00
Alexander Larsson
9285d055ab
lib: Add xdg_app_installation_install
2015-12-15 12:26:59 +01:00
Alexander Larsson
f8e9b74d1f
XdgAppDir: Add set_origin helper function
2015-12-15 09:25:02 +01:00
Alexander Larsson
5b21b48084
common: Fix compiler warning when built with --disable-userns
2015-12-15 08:46:53 +01:00
Alexander Larsson
f16cc44a30
builder: Use SoupRequest to simplify download helpers
...
Also, this allows us to support data: uris, etc
2015-12-09 12:55:10 +01:00
Alexander Larsson
f7b20fad85
common: Make XdgAppDir soup session initilization threadsafe
2015-12-08 15:28:11 +01:00
Alexander Larsson
4177f358cb
common: Make it explicit that XdgAppError are portal errors
2015-12-08 12:16:38 +01:00
Alexander Larsson
a28ced36c7
lib: Add xdg_app_installation_load_app_overrides()
2015-12-08 11:48:22 +01:00
Alexander Larsson
a62f64d265
lib: Add xdg_app_remote_ref_fetch_metadata_sync helper
...
This does direct soup access on the repo. Not ideal, but good for now.
2015-12-08 11:01:13 +01:00
Alexander Larsson
000c59f60e
xdg_app_run_app: Handle error == NULL
2015-12-07 13:34:50 +01:00
Alexander Larsson
8e26dec0d9
helper: Mount dconf run dir writable, as dconf needs this.
2015-12-07 13:34:11 +01:00
Alexander Larsson
67e52e8278
common: Clean up xdg_app_run_app()
...
This breaks things out into helper functions to make things easier
to read.
2015-12-07 13:04:45 +01:00
Alexander Larsson
03ae229751
Move most of builtins-run to xdg_app_run_app helper
...
This is in preparation for letting the library start apps.
2015-12-07 12:27:53 +01:00
Alexander Larsson
d503c5a15d
Remove unused variable
2015-12-07 12:27:29 +01:00
Alexander Larsson
b761aa05a7
common: Move typedef to separate header to avoid circular deps
2015-12-07 12:26:44 +01:00
Alexander Larsson
ad7310f246
XdgAppDeploy: Fix wrong types in finalizer
2015-12-07 12:25:48 +01:00
Alexander Larsson
1647c85d6f
helper: Allow exec on the tmpfs.
...
This should be safe, you could always copy it to your writable
directory and exectute from there instead. There should be no way
to get increased privileges from a simple exec anyway.
2015-12-04 12:19:41 +01:00
Alexander Larsson
ad7b379398
Add no-enumerate flag to remote and set if for bundle origin remotes
2015-12-04 11:40:51 +01:00
Alexander Larsson
704300e1b4
Add xdg_app_dir_fetch_remote_title and remote old custom summary fetcher
2015-12-04 11:09:00 +01:00
Alexander Larsson
5bc44ea125
XdgAppDir: Add some helpers for handling remotes
2015-12-04 10:48:05 +01:00
Alexander Larsson
e76da99cdc
builder: Merge spawn helpers to single base helper
2015-12-03 13:29:08 +01:00
Alexander Larsson
e35241ba35
Merge pull request #86 from murraycu/patch-1
...
xdg-app-utils: Correct SoupUri -> SoupURI typo.
2015-12-01 15:10:36 +01:00
Murray Cumming
4a91447307
xdg-app-utils: Correct SoupUri -> SoupURI typo.
...
It should be SoupURI, not SoupUri:
https://developer.gnome.org/libsoup/stable/SoupURI.html#soup-uri-new
This broke the build for me.
2015-12-01 14:01:43 +01:00
Alexander Larsson
a8eefe6844
Remove stray semicolons
2015-12-01 12:31:20 +01:00
Alexander Larsson
106a5b06ec
Rename lib/ to common/ in preparation for public xdg-app library
2015-11-26 22:05:38 +01:00