Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix various spelling mistakes | Simon McVittie | 2016-05-17 | 1 | -2/+2 |
| | | | | | | Mostly detected by Debian's Lintian tool. Signed-off-by: Simon McVittie <smcv@debian.org> | ||||
* | document-portal: Yet another attempt to fix the build | Alexander Larsson | 2016-05-09 | 1 | -1/+1 |
| | |||||
* | Split out permission store from session helper | Alexander Larsson | 2016-05-09 | 2 | -23/+25 |
| | | | | This is now available as org.freedesktop.impl.portal.PermissionStore | ||||
* | Remove unused variables | Alexander Larsson | 2016-05-09 | 1 | -1/+1 |
| | | | | This fixes warnings from clang | ||||
* | Migrate ~/.local/share/xdg-app to ~/.local/share/flatpak | Alexander Larsson | 2016-05-09 | 1 | -1/+3 |
| | |||||
* | Rename everything but the on-disk location to flatpak | Alexander Larsson | 2016-05-09 | 2 | -6/+6 |
| | |||||
* | Rename library to libflatpak | Alexander Larsson | 2016-05-09 | 1 | -1/+1 |
| | |||||
* | Rename source files to flatpak | Alexander Larsson | 2016-05-09 | 5 | -9/+9 |
| | |||||
* | Rename all non-autogenerated symbols to flatpak | Alexander Larsson | 2016-05-09 | 5 | -97/+97 |
| | |||||
* | uncruftify: Initial run, all non-problematic changes | Alexander Larsson | 2016-05-06 | 6 | -277/+325 |
| | |||||
* | No need to put introspection xml in resources | Alexander Larsson | 2016-04-26 | 3 | -29/+0 |
| | | | | This is already built in to the gdbus codegen code. | ||||
* | Remove unused local variables reported by clang | Alexander Larsson | 2016-04-21 | 1 | -3/+0 |
| | |||||
* | No need for newlines in g_debug messages | Alexander Larsson | 2016-03-14 | 1 | -6/+6 |
| | |||||
* | fuse: Store basename in dir so we don't have to keep looking it up | Alexander Larsson | 2016-03-14 | 1 | -27/+21 |
| | | | | Its immutable for a document anyway | ||||
* | document portal: Avoid some deadlock | Alexander Larsson | 2016-03-14 | 3 | -109/+131 |
| | | | | | We can't hold the db lock and call into the fuse backend, because that can create deadlocks if it calls back into the db. | ||||
* | Now newlines needed in g_debug calls | Alexander Larsson | 2016-03-11 | 1 | -1/+1 |
| | |||||
* | Reimplement fuse backend | Alexander Larsson | 2016-03-11 | 5 | -1561/+1486 |
| | | | | | | | | | | | The magic inode numbers we used before are problematic. The inode nrs are tied to the file names, so inode changes on rename, which breaks posix expectations. Also, it relied on 64bit inode space which is not true on i386. So, this is a new implementation that uses a more traditional approach of dynamically allocating inodes as needed. | ||||
* | Add systemd user units corresponding to the D-Bus session services | Simon McVittie | 2016-01-28 | 3 | -2/+12 |
| | | | | Signed-off-by: Simon McVittie <smcv@debian.org> | ||||
* | common: Make it explicit that XdgAppError are portal errors | Alexander Larsson | 2015-12-08 | 3 | -22/+22 |
| | |||||
* | document portal: Add AddNamed method for host-side use | Alexander Larsson | 2015-12-02 | 1 | -0/+96 |
| | | | | This is needed for the "save as" file selector portal | ||||
* | Rename lib/ to common/ in preparation for public xdg-app library | Alexander Larsson | 2015-11-26 | 1 | -1/+1 |
| | |||||
* | Move dbus invocation peer app detection to lib/ | Alexander Larsson | 2015-10-21 | 3 | -212/+3 |
| | |||||
* | Correct capitalization on dbus interface filename | Alexander Larsson | 2015-10-21 | 3 | -4/+4 |
| | |||||
* | document-portal: Fix warning | Alexander Larsson | 2015-10-06 | 1 | -0/+2 |
| | | | | We need to return something from main() | ||||
* | Propagate Xauthority details to the sandbox if X11 is enabled | Alexander Larsson | 2015-10-01 | 1 | -1/+1 |
| | | | | | | Some xservers out there (like xorg 1.17.1) have a broken server interpreted local xauth, which causes apps to fail to connect to the xserver. This fixes that by propagating Xauthority data such as the MIT-MAGIC-COOKIE-1. | ||||
* | fuse: Disable entry cache to work around race condition | Alexander Larsson | 2015-10-01 | 1 | -1/+5 |
| | |||||
* | build: Fix srcdir != builddir from git | Colin Walters | 2015-09-29 | 1 | -1/+1 |
| | | | | | Was hitting this in gnome-continuous, which does srcdir != builddir by default. | ||||
* | fuse: Supply mode when creating files | Alexander Larsson | 2015-09-18 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=92034 | ||||
* | Fix distcheck issues0.4.0 | Alexander Larsson | 2015-09-17 | 1 | -0/+2 |
| | |||||
* | document portal: Add support for transient documents | Alexander Larsson | 2015-09-17 | 2 | -21/+35 |
| | | | | These are useful for passing temporary files. | ||||
* | document portal: Fix crashes when dbus activated | Alexander Larsson | 2015-09-09 | 1 | -2/+15 |
| | | | | | | We handle the first message (the activating message) before we have gotten the name aquired message. Make sure that this is correctly handled. | ||||
* | fuse: Add some more debug spew | Alexander Larsson | 2015-09-08 | 1 | -0/+3 |
| | |||||
* | fuse: Drop DOC_DIR_INO_CLASS | Alexander Larsson | 2015-09-08 | 1 | -75/+26 |
| | | | | | We can just use a APP_DOC_DIR_INO_CLASS with app_id 0. This gets rid of some duplicated code. | ||||
* | document portal: Correctly handle recursive documents | Alexander Larsson | 2015-09-08 | 3 | -16/+75 |
| | | | | | I.e. if you pass in a document fd to the document portal we reuse the existing id. | ||||
* | document portal: Move locking explicitly into portal handlers | Alexander Larsson | 2015-09-08 | 1 | -4/+9 |
| | | | | | This is requires because do i/o on the passed in fd in add() and if you pass in a fd on the fuse mount itself we deadlock. | ||||
* | document-portal: Allow dbus owner replacing | Alexander Larsson | 2015-09-08 | 1 | -1/+3 |
| | |||||
* | fuse: Add some more debug spew | Alexander Larsson | 2015-09-08 | 2 | -1/+9 |
| | |||||
* | fuse: Raise entry cache times now that we invalidate | Alexander Larsson | 2015-09-08 | 1 | -7/+5 |
| | |||||
* | fuse: Properly invalidate inodes and entries | Alexander Larsson | 2015-09-08 | 3 | -8/+75 |
| | |||||
* | fuse: Add daemonizing switch | Alexander Larsson | 2015-09-08 | 1 | -11/+67 |
| | | | | This will be used for the tests | ||||
* | fuse: Unmount previous fuse instance if ENOTCONN | Alexander Larsson | 2015-09-08 | 1 | -0/+10 |
| | |||||
* | document-portal: Actually respect WRITE permissions | Alexander Larsson | 2015-09-04 | 1 | -80/+225 |
| | |||||
* | document-portal: Use xdg_app_is_valid_name() to validate app names | Alexander Larsson | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | document-portals: Support unique documents | Alexander Larsson | 2015-09-04 | 3 | -15/+40 |
| | | | | | | | These document id will not be shared for multiple users. The main difference is this this makes it safe for the creating app to delete the document if he wants to (i.e. for temporary docs), and thus we can grant this additional permission for the calling app. | ||||
* | fuse: Always open files with O_NOFOLLOW | Alexander Larsson | 2015-09-04 | 1 | -3/+3 |
| | | | | Following symlinks is risky as the sandbox may control them. | ||||
* | Add debug output for release | Alexander Larsson | 2015-09-03 | 1 | -0/+3 |
| | |||||
* | Store and verify parent dir dev/ino and pass O_PATH fds | Alexander Larsson | 2015-09-03 | 4 | -156/+272 |
| | | | | | | | | | | | | | | | In order to be robust against symlink attacks (i.e. make a document for a path, then replace it with a symlink somewhere else and have the portal read that instead) we store the parent dev/ino when we create the document id and always verify that (atomically with the *at syscalls) on each use. Also, we pass O_PATH fds when creating documents, as it allows us to be a bit safer. For instance we can verify that the fd is a O_PATH fd before doing any ops on it, and it makes it possible to avoid other symlink trickery. Also, we drop the double add methods, and just use the O_PATH version. | ||||
* | fuse: Make filesystem multithreaded | Alexander Larsson | 2015-09-03 | 2 | -392/+624 |
| | | | | This allows us to handle multiple apps better. | ||||
* | Use g_auto(GStrv) instead of glnx_strfreev | Alexander Larsson | 2015-08-31 | 2 | -3/+3 |
| | |||||
* | Remove ununsed variables reported by clang | Alexander Larsson | 2015-08-27 | 3 | -7/+0 |
| |