| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Oops, trying to use it would just result in criticals.
Fixes #449
|
|
|
|
|
|
|
|
|
|
| |
This is still not great code but at least somewhat an improvement. Tests
were expanded to showcase the new behavior.
I think, ideally, we would append opening/closing tags to the ancestor
`p` or `li` node's cdata as soon as we encounter the start/end of an
`em` or `code` element. This would then also handle empty elements
correctly.
|
| |
|
|
|
|
| |
Fixes: https://github.com/hughsie/appstream-glib/issues/445
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The former bumped ABI, and all sorts of crazy happens when you link in
libappstream-glib into a process with the 'other' ABI.
It seems the universe has settled on curl as a dep; do the same.
|
|
|
|
| |
Based on a patch by Fabian Vogt <fvogt@suse.de>, many thanks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ebdefa2745 tried to fix handling of relative symlinks in archives, but that
only addressed targets starting with ".."/. Fix it properly by using
asb_utils_sanitise_path only for absolute paths, keep relative paths as-is.
Simplify code for handling absolute symlinks by just prepending the root
instead of converting it to a relative link.
Hardlink targets are returned as paths relative to the archive root, so the
sanitization code is correct there.
|
|
|
|
|
|
|
|
|
| |
dbd62f6e05 removed the WxH directory from the icon filenames, which were also
used as-is for the paths in the icons tarball. However, if width and height
are set on the icon, then it has to be inside a size-specific directory.
With HiDPI enabled, it did even overwrite the non-HiDPI icon it saved just
before because the filenames were the same.
Add the subdirectory back in the resource handling code.
|
|
|
|
| |
Signed-off-by: Rafael Fontenelle <rffontenelle@gmail.com>
|
|
|
|
|
|
|
| |
According to the specification, there is no difference between both kinds
of upstream metainfo files.
Fixes #381
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/422
|
|
|
|
| |
This reverts commit 3fa624026f608ef8465fb339f86725aaf648e09f.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Integrates these commits:
https://github.com/ximion/appstream/commit/e42dd0d071f27d74419b04a52a8388e00777cd88
https://github.com/ximion/appstream/commit/71d134e82752be6f8851c65ba0ce8c312a72214c
https://github.com/ximion/appstream/commit/8c939f999ebf82c3bbf5ad179b24fd7478a0f1d0
https://github.com/ximion/appstream/commit/51ab4f32c56f5cdc293ba0512f003542b83713fc
|
| |
|
| |
|
|
|
|
|
|
| |
Always store the AppStream metadata version as a string and compare it
like any other version.
This allows to have 0.10 > 0.8 for instance.
|
|
|
|
| |
mingw clang does not support --version-script linker option.
|
|
|
|
|
|
| |
We are now in version 0.14
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
|
|
|
|
| |
Translation by Henrique Machado, Proofread by Enrico
|
|
|
|
| |
Some appstream-data packages add <em> and </em> or <code> and </code> to the files. Not all package manager can handle that. An example would be pamac from Manjaro
|
|
|
|
|
| |
Apparently, write ordering of some field schanged at some point, but the
test case was not updated. Updating to allow Travis CI to pass.
|
|
|
|
|
|
|
|
| |
AppStream license syntax allows constructs of form "LICENSE1 AND
LICENSE2". It is possible to confuse this with writing multiple license
xml elements in a metainfo file. In order to spot this type of error,
duplicate detection is added for xml elements metadata_license and
project_license.
|
|
|
|
|
|
|
|
|
| |
Ideally only libappstream-builder would be fixed, but
asb_utils_ensure_exists is (transitively) called from builder too, so
fixing also that.
Fixes: #399
Merges: #400
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/396
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per
https://www.freedesktop.org/software/appstream/docs/sect-AppStream-IconCache.html#spec-iconcache-location,
the size of an icon should be specified in its `width` and `height`
attributes, rather than as part of its name.
This was resulting in icons like this in the rpmfusion-free-33 appdata:
```
<icon type="cached" height="128" width="128">128x128/chromium-browser-privacy.png</icon>
```
which were then being resolved to the path:
```
/usr/share/app-info/icons/rpmfusion-free-33/128x128/128x128/chromium-browser-privacy.png
```
which contains a duplicate size subdirectory.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|
|
|
|
|
|
| |
Markdown underlines are with `=` or `-`, not `~`. This fixes the
Markdown rendering of appdata-to-news-ed files in GitLab.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|
|
|
|
| |
Replace links http://standards.freedesktop.org/...
by https://specifications.freedesktop.org/...
|
|
|
|
|
| |
Replace a link http://www.freedesktop.org/wiki/...
by https://www.freedesktop.org/wiki/...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Align the OARS/CSM mappings of sex-homosexuality and sex-themes, as the
two are identical apart from discriminating on sexual orientation.
This is a follow-up to commit 01e9ee8113a8ad.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|