Commit Graph

1218 Commits (185fdc194782e24775db22c26a79687b1598be01)
 

Author SHA1 Message Date
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
David King 12d49beb72 Search for dwarf.h in configure
Add a --with-dwarf-header argument for supplying the path containing the
dwarf.h header from libdwarf. Either a path must be provided, or a fallback
location of $includedir/libdwarf will be tested.

https://bugs.freedesktop.org/show_bug.cgi?id=94308
2016-02-26 15:03:25 +01:00
Alexander Larsson 87be89a7b8 lib: Add xdg_app_bundle_ref_get_origin() 2016-02-26 14:20:28 +01:00
Alexander Larsson 1ee1ed6eb9 lib: Fix a tiny leak 2016-02-26 14:17:07 +01:00
Alexander Larsson 38c24d536a Update test-lib.c with the appstream api change 2016-02-26 12:53:47 +01:00
Alexander Larsson d43d8cd8c8 Change xdg_app_bundle_ref_get_appdata to xdg_app_bundle_ref_get_appstream
This is technically an ABI break, but nothing is using this yet.
2016-02-26 12:52:38 +01:00
Alexander Larsson b20e72e91c Update version to 0.4.13 2016-02-26 09:59:51 +01:00
Alexander Larsson 26c2bb1b81 lib: Add xdg_app_bundle_ref_get_installed_size() 2016-02-25 21:34:44 +01:00
Alexander Larsson 69890db5f1 build-update-repo: Add --generate-static-deltas option 2016-02-25 21:13:20 +01:00
Alexander Larsson 0e1d83e94c lib: Add XdgAppBundleRef api to get appdata and icons 2016-02-25 20:12:04 +01:00
Alexander Larsson 986224b80c build-bundle: Extract appdata and icons into metadata 2016-02-25 19:38:20 +01:00
Alexander Larsson ef14c9f8db common: Add and use xdg_app_appstream_xml_root_to_data 2016-02-25 19:38:08 +01:00
Alexander Larsson 7ac2722800 common: Add xdg_app_read_stream helper 2016-02-25 19:34:04 +01:00
Alexander Larsson eba6a1e552 Add appdata to test apps 2016-02-25 19:03:09 +01:00
Alexander Larsson 73defceec6 common: Break out xml appstream rewriting to helper functions 2016-02-25 18:26:40 +01:00
Alexander Larsson c84ebe0440 Support --filesystem=xdg-run/foo 2016-02-25 17:11:37 +01:00
Alexander Larsson 26cd90e100 Allow specifying subdir of xdg dir, like: --filesytem=xdg-download/subdir 2016-02-25 16:51:45 +01:00
Alexander Larsson 6c5e1a8a92 Fix some compiler warning (unused vars) 2016-02-25 16:09:49 +01:00
Alexander Larsson 382ae396b3 lib: Add xdg_app_installation_install_bundle 2016-02-25 16:05:13 +01:00
Alexander Larsson cd13e9e21d bundles: Don't lock during pull
There is no need for that
2016-02-25 15:41:37 +01:00
Alexander Larsson aefb4b6b82 Add make-test-bundles.sh 2016-02-25 15:27:37 +01:00
Alexander Larsson 0e595519c1 Add test scripts that create trivial a runtime and app 2016-02-25 15:14:57 +01:00
Alexander Larsson f89e004fa3 Remove origin repos on uninstall 2016-02-25 11:44:23 +01:00
Alexander Larsson eadb10cba7 common: Move part of bundle install to helper functions 2016-02-25 11:31:22 +01:00
Alexander Larsson e66e7e3f15 bundles: Verify that the header metadata matches the deployed one at install
Otherwise the bundle can lie about requested permissions.
2016-02-24 15:48:33 +01:00
Alexander Larsson 69052c7d9a lib: Add XdgAppBundleRef 2016-02-24 14:44:16 +01:00