Commit Graph

16 Commits (9396419b6658830ff484c5d7a7f09f5700e7970f)

Author SHA1 Message Date
Alexander Larsson f4eefa7e04 Create xdg-app-info file in user runtime dir with effective state
This shows the name of the app, the runtime in use and the permissions
that the app has. This is useful for a client to know if e.g. it needs
to use a portal of some sort.
2015-11-26 19:15:49 +01:00
Alexander Larsson ff63e21073 Always make it possible to talk to the built in portals
Unless this is explicitly overrided, it should be safe for anyone
to access the portals. Thats the point of them after all.
2015-11-11 11:26:03 +01:00
Alexander Larsson 279558b6bf cleanup: Simplify code using xdg_app_fail 2015-09-28 16:54:24 +02:00
Alexander Larsson e4920a8e7e cleanup: Remove trivial use of goto out 2015-09-28 16:40:19 +02:00
Alexander Larsson 75b4f557b4 run: Add /var/config and /var/data to sandbox
These point to the per-app data subdirectories. They are useful alternatives
to the $HOME based names because they have fixed names, and can be used
in e.g. symlinks.
2015-09-23 14:46:20 +02:00
Alexander Larsson 727f50e923 xdg-app build: Support extensions 2015-09-22 13:57:20 +02:00
Alexander Larsson 7240f410ca Support version= in extension metadata 2015-09-18 16:34:34 +02:00
Alexander Larsson 5065e431a2 run: Allow perf and ptrace in debug and build mode.
Without this you can't e.g. run a debugger or profiler in the sandbox.
2015-09-18 14:11:15 +02:00
Alexander Larsson 9d1cfd7688 run: Support system overrides as well as per-user 2015-09-11 13:01:39 +02:00
Alexander Larsson 90718549ee run: Read per-app override metadata file 2015-09-09 16:31:49 +02:00
Alexander Larsson 6abfb68faf run: Correctly report errors talking to document portal 2015-09-09 15:37:45 +02:00
Alexander Larsson 6775dc1002 Use g_auto(GStrv) instead of glnx_strfreev 2015-08-31 09:51:48 +02:00
Alexander Larsson 52525f46fd Remove ununsed variables reported by clang 2015-08-27 16:13:15 +02:00
Alexander Larsson 2238cc44c3 Change dbus name of session helper to org.freedesktop.XdgApp 2015-08-18 13:33:03 +02:00
Alexander Larsson 08d05a30a3 Automatically start and mount document portal in sandbox 2015-07-10 17:49:59 +02:00
Alexander Larsson 302f88e69d Restructure directories and build
This moves a all source code into separate subdirs per binary. The
helper and the generic stuff goes into lib/ which is then used by all
the others. For now this is a completely internal library, but at
some point we will probably clean it up and expose some subset.

Also, we move the dbus proxy to libexecdir.
2015-07-10 12:15:45 +02:00