Commit Graph

1043 Commits (4c8a74e58153675c6fcf32a088a15f9d5e1d92b6)
 

Author SHA1 Message Date
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
Matthias Clasen 7873de5155 doc: Minor reshuffling 2016-03-25 10:53:26 -04:00
Alexander Larsson 762d1a6295 seccomp: Allow running the target arch
This adds the app target arch to the list of the allowed arches
in seccomp. It also allows the native arch, because otherwise
xdg-app-helper can't run.

This means that if your userspace (i.e. xdg-app-helper) is built in
64bit mode, then 64bit apps can't run 32bit apps. However, if you're
running a 32bit app it is allowed to run both 32bit and 64bit apps.

Not ideal, but at least the common case is safer.
2016-03-24 21:04:01 +01:00
Alexander Larsson c25786ffa1 seccomp: Always try to do the socket filtering, but don't fail if not supported
This is better than guessing if it will work before.
However, we need to add the rule with _rule_add_exact, or it can try
to do something else which breaks the app.
2016-03-24 21:04:01 +01:00
Alexander Larsson 5ce0184cc7 Support endianness markers in bundle files 2016-03-24 11:04:23 +01:00
Alexander Larsson 509607b79d Merge remote-tracking branch 'github/master' 2016-03-24 08:23:33 +01:00
Alexander Larsson 6418573628 Merge pull request #117 from matthiasclasen/gcc-indent-warning
Fix indentation
2016-03-24 08:22:26 +01:00
Matthias Clasen bf4c5c4943 Fix indentation
gcc 6 warns about this misleadingly indented line.
2016-03-24 00:00:12 -04:00
Alexander Larsson 7e6b18eddc builder: Actually respect the defined branch 2016-03-23 16:42:40 +01:00
Alexander Larsson d32b13a695 builder: Checksum metadata-platform contents for cache too 2016-03-23 14:54:47 +01:00
Alexander Larsson d6f9e03a61 builder: Use the right field for the platform cache checksum
It was looking at metadata, instead of metadata_platform
2016-03-23 14:49:59 +01:00
Alexander Larsson 5d52df9fe6 Merge pull request #115 from matthiasclasen/docs-update
Some small documentation updates
2016-03-22 17:02:59 +01:00
Alexander Larsson 20fcf760bc Merge pull request #116 from matthiasclasen/check-name
Don't check that the name is a branch
2016-03-22 17:01:25 +01:00
Matthias Clasen 9649cae95f Add xdg-app info to docs
Add the info command in xdg-app(1), and build the existing
man page for it.
2016-03-22 11:37:18 -04:00
Matthias Clasen 96437c78e7 Don't check that the name is a branch
Don't call xdg_app_is_valid_branch() to verify an application name.
Use xdg_app_is_valid_name().
2016-03-22 11:27:59 -04:00
Matthias Clasen f46dce3188 Align contents of xdg-app.1 with xdg-app --help 2016-03-22 11:26:17 -04:00
Matthias Clasen 2d678c9379 Document xdg-app-build-bundle 2016-03-22 11:26:17 -04:00
Alexander Larsson 2df80bd77c Merge pull request #114 from gcampax/master
Extract icons for all appstream components
2016-03-22 08:54:33 +01:00
Giovanni Campagna b4de1f15a7 Extract icons for all appstream components
Not just the one with the name exactly matching the app id
2016-03-21 19:07:36 -07:00
Alexander Larsson b3f9da3648 builder: Build single every-locale extension
This is useful for testing, as well as makes building derived runtimes
easier.
2016-03-21 16:37:51 +01:00
Alexander Larsson 1b1e8c26a2 Prefer non-subdir extensions over subdir ones.
This allows us to have e.g. org.*.Locale that contains *all* the locales.
2016-03-21 16:37:51 +01:00
Alexander Larsson 08959b4373 xdg-app-builder: Don't export if --build-only specified 2016-03-17 20:55:55 +01:00
Alexander Larsson e52639def0 Add major_version to binary age
This doesn't affect things atm, since major is 0, but sets things up
for 1.0 eventually.
2016-03-16 09:50:14 +01:00
Alexander Larsson 7623c75af1 Update NEWS 2016-03-16 09:30:16 +01:00
Alexander Larsson c41a37dd28 Bump version to 0.5.0 2016-03-16 09:30:08 +01:00
Alexander Larsson 08826258ec Update summary after generating deltas
Because deltas are in the summary.
2016-03-15 22:40:33 +01:00
Alexander Larsson 45a8b97542 Enabling gpg means require both signed commits and summaries
It makes no sense to not require this. We're not held back by
backwards compat issues, so lets be maximally secure.
2016-03-15 17:03:21 +01:00
Alexander Larsson f031650e2d Don't unnecessarily grow the buffer when loading files. 2016-03-14 16:21:55 +01:00
Alexander Larsson 30a536f6dc Add change notification for the permissions store 2016-03-14 14:26:35 +01:00
Alexander Larsson 56f0ffcb2b Avoid warning about refing null GVariant 2016-03-14 14:26:05 +01:00
Alexander Larsson 56872d1602 Never use gvfs in the session helper 2016-03-14 14:10:19 +01:00
Alexander Larsson c3bae9af57 No need for newlines in g_debug messages 2016-03-14 13:01:09 +01:00
Alexander Larsson 728e7a89e1 xdg-app-buildeR: Remove unnecessary spew 2016-03-14 11:57:06 +01:00
Alexander Larsson 7ddfc91b90 Flesh out document portal tests 2016-03-14 11:33:13 +01:00
Alexander Larsson 46a192824c fuse: Store basename in dir so we don't have to keep looking it up
Its immutable for a document anyway
2016-03-14 10:58:08 +01:00
Alexander Larsson 9537bdc339 document portal: Avoid some deadlock
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.
2016-03-14 10:50:34 +01:00
Alexander Larsson 2f01bb3aaa Don't enumerate noenumerate remotes 2016-03-14 09:51:36 +01:00
Alexander Larsson e14837308b Now newlines needed in g_debug calls 2016-03-11 17:28:23 +01:00
Alexander Larsson 7a61eaa91d Reimplement fuse backend
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.
2016-03-11 17:00:08 +01:00
Alexander Larsson 3e5d4a02d8 Get the new glnx_fd_close 2016-03-11 16:55:15 +01:00
Alexander Larsson 765c0af2fe Ensure that the .ref file is always replaced
We need a unique inode in the deploy dir, if it is hardlinked the file
lock will be shared.
2016-03-02 11:03:51 +01:00
Thibault Saunier 8aa1effe26 Force /bin/sh as a shell
https://bugs.freedesktop.org/show_bug.cgi?id=94333
2016-03-02 09:50:41 +01:00
Alexander Larsson af6ccd70c3 Post release version bump 2016-02-26 15:11:50 +01:00