summaryrefslogtreecommitdiff
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* utils: remove_dangling_symlinks() - fix leakAlexander Larsson2016-05-181-1/+1
| | | | We were not freeing the iterator.
* Merge pull request #161 from smcv/spellingAlexander Larsson2016-05-171-1/+1
|\ | | | | Fix various spelling mistakes
| * Fix various spelling mistakesSimon McVittie2016-05-171-1/+1
| | | | | | | | | | | | Mostly detected by Debian's Lintian tool. Signed-off-by: Simon McVittie <smcv@debian.org>
* | system-helper: Support running unprivileged on session busAlexander Larsson2016-05-171-1/+2
| | | | | | | | This is only useful for testing.
* | Look at FLATPAK_SYSTEM_DIR env var for default system dirAlexander Larsson2016-05-171-1/+14
| | | | | | | | This is useful for testing
* | system-helper: Never use a system helper recursivelyAlexander Larsson2016-05-172-1/+11
|/
* flatpak-run.c: Handle arm and aarch64 archesTristan Van Berkom2016-05-161-0/+4
| | | | | | Allows 32bit applications to run in the sandbox on a 64bit aarch64 host. https://bugs.freedesktop.org/show_bug.cgi?id=95421
* run: Remove old seccomp arch codeAlexander Larsson2016-05-161-16/+0
| | | | | | There was a merge error when we switched to bubblewrap, this code was replaced with the code that only adds the target arch, but we forgot to remove this old code.
* Fix clang warningsAlexander Larsson2016-05-131-1/+1
|
* system-helper: Support add/modify/delete of remotesAlexander Larsson2016-05-132-0/+67
|
* remote-delete: Move to FlatpakDir and add checks for installed refsAlexander Larsson2016-05-132-40/+76
| | | | | You can't remove a remote unless you --force or there are no installs from it.
* Fix typo: flatpak_dir_modify_remove -> flatpak_dir_modify_remoteAlexander Larsson2016-05-132-2/+2
|
* FlatpakDir: Add in-memory summary cacheAlexander Larsson2016-05-131-1/+112
| | | | Remote summary files are cached for 5 minutes.
* Duplicate ostree_repo_remote_list_refs in FlatpakDirAlexander Larsson2016-05-131-3/+68
| | | | This way we can later add a local summary cache to it.
* Register dbus errors for FLATPAK_ERRORAlexander Larsson2016-05-122-1/+20
| | | | This allows us to transparently pass them from the system helper.
* Change portal error names to not contain FlatpakAlexander Larsson2016-05-121-7/+7
|
* system-helper: Support uninstallAlexander Larsson2016-05-122-5/+22
|
* Fix triggers with installation dir on a symlinkAlexander Larsson2016-05-121-4/+9
|
* common: Add flags for flatpak_dir_uninstallAlexander Larsson2016-05-122-4/+10
| | | | This is better than a list of booleans.
* Use flatpak_dir_uninstall for app and libAlexander Larsson2016-05-122-0/+92
|
* Use the installed/not-installed errors more consequentlyAlexander Larsson2016-05-121-4/+4
|
* common: Remove FlatpakDirError in favour of FlatpakError from the libAlexander Larsson2016-05-123-20/+10
|
* Move flatpack_error quark to common so that the common code can use itAlexander Larsson2016-05-122-0/+5
|
* Show the error when we fail to build AppStream metadataRichard Hughes2016-05-121-1/+1
|
* system-helper: Fix timeout settingAlexander Larsson2016-05-121-1/+1
|
* system-helper: Set infinite timeout when doing system-helper callsAlexander Larsson2016-05-121-1/+1
|
* Don't fail if there is no user-dirs.dirsAlexander Larsson2016-05-121-3/+4
| | | | | | Based on patch from tristan https://bugs.freedesktop.org/show_bug.cgi?id=95339
* modify-remote: Move the actual config rewriting to FlatpakDirAlexander Larsson2016-05-112-0/+87
| | | | This is in preparation for doing this in the system helper.
* run: Last fd issue???Alexander Larsson2016-05-111-0/+4
|
* run: More background fd issues fixedAlexander Larsson2016-05-112-22/+16
| | | | | This also simplifies the child_setup func by clearing CLOEXEC on the needed fds.
* run: Also keep the --args fd aliveAlexander Larsson2016-05-111-0/+1
|
* run: Fix running in the backgroundAlexander Larsson2016-05-112-6/+59
| | | | | | | We need to keep all the fd:s needed for bubblewrap alive, so neuter g_spawn_async:s close of fds and do our own. Also, we need this so these fds can be closed in the launching app.
* deploy: Ensure deploy dir is world readableAlexander Larsson2016-05-111-1/+1
|
* appstream: Generate root dir of appstream branch world-readableAlexander Larsson2016-05-111-1/+1
|
* system-helper: Add support for updating appstream branchAlexander Larsson2016-05-112-40/+128
|
* run: Always cover /tmp/.X11-unix with an empty tmpfsAlexander Larsson2016-05-101-7/+22
| | | | This way --filesystem=/tmp doesn't grant full access to the X sockets.
* Remove unused variablesAlexander Larsson2016-05-092-7/+0
| | | | This fixes warnings from clang
* Migrate ~/.local/share/xdg-app to ~/.local/share/flatpakAlexander Larsson2016-05-094-3/+29
|
* Rename everything but the on-disk location to flatpakAlexander Larsson2016-05-099-48/+48
|
* Rename library to libflatpakAlexander Larsson2016-05-091-4/+4
|
* Rename source files to flatpakAlexander Larsson2016-05-0914-36/+36
|
* Rename all non-autogenerated symbols to flatpakAlexander Larsson2016-05-0913-1428/+1428
|
* uncruftify: Initial run, all non-problematic changesAlexander Larsson2016-05-0612-1686/+1859
|
* common: Work around new glib codegen autogenerating g_autoptr supportAlexander Larsson2016-05-042-2/+6
| | | | | glib master generates g_autoptr support, which causes a multiple declaration conflict. We work around this by using a custom type.
* Use the userspace arch as the default, not the kernel archAlexander Larsson2016-05-041-11/+35
| | | | | | Its not super uncommon to e.g. have a 64bit kernel with 32bit userspace. So, we default to the arch xdg-app was built for, rather than what uname reports (the kernel version).
* Fix make check if uninstalledAlexander Larsson2016-05-034-6/+27
| | | | | | This uses various environment variables set during make check to find the trigger, bwrap and xdg-app-dbusproxy from the build/source dir rather than the installed location.
* run: Always use --unshare-userAlexander Larsson2016-04-291-0/+1
| | | | | This is the default if bwrap is unprivileged, but we want to use it also if its setuid.
* Remove xdg-app-helperAlexander Larsson2016-04-292-2729/+0
|
* Use bubblewrap instead of xdg-app-helperAlexander Larsson2016-04-294-193/+813
| | | | | | | | | | | Bubblewrap is a new tool from project atomic. Its similar to the old xdg-app-helper, but even more minimal, and a bit more generic. Its designed to be easy to git submodule install, but at some point we will probably support using the system installed version too. Using bubblewraps lets us share the load of security mainainance and allows other people to use bubblewrap to do their own unprivileged sandboxes.
* Add support for disabled remotesAlexander Larsson2016-04-272-0/+15
| | | | | If this is set we don't list them by default, and we don't automatically update apps from them.