summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PrefersNonDefaultGPU .desktop keywip/hadess/add-PrefersNonDefaultGPUBastien Nocera2020-04-271-0/+5
| | | | | | And deprecate KDE's X-KDE-RunOnDiscreteGpu. See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/13
* Make it possible to deprecate keys starting with X-Bastien Nocera2020-04-271-3/+5
| | | | | | | So we can throw warnings to make it easier to migrate to newer versions of the spec. test.desktop: warning: key "X-KDE-RunOnDiscreteGpu" in group "Desktop Entry" is deprecated
* ci: Bump Fedora versionBastien Nocera2020-04-271-1/+1
|
* validate: Add the "Implements" field from spec version 1.2Dylan Baker2020-04-151-0/+2
| | | | Fixes #55
* desktop-file-validate: Simplify a couple of error messagesPhilip Withnall2019-11-191-4/+4
| | | | | | | | They were printing the value of both keys, but given that the warning is that the two values are (almost) the same, it seems a pointless waste of space to print both of them. Print only one. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* desktop-file-validate: Add coloured output supportPhilip Withnall2019-11-191-4/+33
| | | | | | | | This is only enabled if the output stream supports it, and only if compiled against GLib ≥ 2.50. This doesn’t bump the hard dependency, though. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* desktop-file-validate: Set locale so that output encoding is correctPhilip Withnall2019-11-141-0/+4
| | | | | | | | | | The typical case is that UTF-8 values from a .desktop file are displayed on a UTF-8 terminal. If we don’t set the locale from the environment, though, libc assumes that the terminal only supports ASCII, and substitutes all non-ASCII characters with `?`. This makes (for example) Cyrillic characters in warning messages useless. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* validate: add support for GNOME Flashback desktopAlberts Muktupāvels2019-08-171-1/+1
|
* validate: add support for GNOME Classic desktopAlberts Muktupāvels2019-08-171-1/+1
|
* Update the DOAP file with maintainer and issue tracker info.Hans Petter Jansson2019-07-261-3/+3
|
* Post-release bump to 0.25.Hans Petter Jansson2019-07-261-1/+1
|
* Release: 0.240.24Hans Petter Jansson2019-07-261-0/+23
|
* build: Install elisp even if emacs doesn't work. Don't byte-compile.Hans Petter Jansson2019-07-251-7/+1
|
* ci: Require automakeHans Petter Jansson2019-07-241-1/+1
|
* ci: Fix build dependenciesHans Petter Jansson2019-07-241-1/+1
|
* ci: Add .gitlab-ci.ymlHans Petter Jansson2019-07-241-0/+9
|
* Allow version 1.2Severin Glöckner2019-07-241-0/+3
| | | | Has been forgotten, as the lastest spec is 1.2
* validate: Add support for Deepin in OnlyShowIn.Hans Petter Jansson2019-07-231-1/+1
|
* update-desktop-database.c: Sort output within lines, not the just between them.Chris Lamb2019-07-231-0/+1
| | | | | | | | | | | | | | | Whilst working on the Reproducible Builds effort [0], we noticed that desktop-file-utils produces mimeinfo.cache files that are not reproducible. This is because it inherits the non-deterministic hash ordering of the mime_types_map data structure. Patch attached that sorts just prior to output. [0] https://reproducible-builds.org/ Signed-off-by: Hans Petter Jansson <hpj@cl.no>
* Use pledge(2) on OpenBSD to limit the sets of syscalls that can be usedJasper Lievisse Adriaanse2019-07-232-0/+9
| | | | Signed-off-by: Hans Petter Jansson <hpj@cl.no>
* validate: Add support for the Enlightenment desktop.Hans Petter Jansson2019-07-231-1/+1
|
* validate: Add support for the Budgie Desktop as an OnlyShowIn entryIkey Doherty2019-07-231-1/+1
| | | | | | | | | | | | The Budgie desktop has existed since 2013 and is in wide spread usage, as indicated in Solus, Ubuntu Budgie, as well as presence within the Debian and Arch repositories. Currently the Budgie desktop may identify itself as either "GNOME:Budgie" or "Budgie", given the current use of gnome-session. Signed-off-by: Ikey Doherty <ikey@solus-project.com> Signed-off-by: Hans Petter Jansson <hpj@cl.no>
* Add font as valid media typeMatthias Clasen2018-04-101-2/+2
| | | | | This was codified in RFC 8081, and some desktop apps are using this now.
* Added Pantheon to the list of desktop environmentsDavid Faure2016-08-201-1/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=97385
* Fix missing ; when appending to a list not ending with onePascal Terjan2016-08-181-3/+8
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=97388 Signed-off-by: Hans Petter Jansson <hpj@cl.no>
* Post-release bump to 0.24.Hans Petter Jansson2016-06-191-1/+1
|
* Release: 0.230.23Hans Petter Jansson2016-06-181-0/+17
|
* validate: Add LXQt to list of registered environments.Hans Petter Jansson2016-06-181-1/+1
| | | | | | | Patch from Jauhien Piatlicki. https://github.com/lxde/lxqt https://bugs.freedesktop.org/show_bug.cgi?id=79561
* Accept version 1.1Matthias Clasen2016-06-181-0/+3
| | | | | When the current spec version was updated to 1.1, we forgot to ensure that we actually accept Version=1.1 in desktop files.
* validate: Ensure DBusActivatable filenames conform to reverse-DNS notation.Hans Petter Jansson2016-06-171-1/+45
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=66904
* mimeutils: Allow multipart/related MIME type.Hans Petter Jansson2016-05-111-0/+3
| | | | | | It's implemented as an extension of RFC 822 and is used for MHTML. https://bugs.freedesktop.org/show_bug.cgi?id=93376
* validate: Fix buffer over-read on incomplete escape sequence.Hans Petter Jansson2016-02-291-0/+10
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=94303
* Add EDE to the list of desktop environmentsDavid Faure2014-04-011-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=56353
* Add Cinnamon to list of registered environments.Michael Webster2014-04-011-1/+1
| | | | | | https://github.com/linuxmint/Cinnamon https://bugs.freedesktop.org/show_bug.cgi?id=73497
* desktop-file-validate: Trailing semicolons have been downgraded to optionalJerome Leclanche2014-04-011-105/+0
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=76902 Approved by David Faure and Ryan Lortie
* release: post-release bump to 0.23Vincent Untz2013-08-291-1/+1
|
* release: 0.220.22Vincent Untz2013-08-291-0/+17
|
* validator: Do not print two errors if file doesn't existVincent Untz2013-08-291-3/+1
|
* Allow validating multiple desktop filesMatthias Clasen2013-08-291-9/+16
| | | | | There is no good reason to not allow this. https://bugs.freedesktop.org/show_bug.cgi?id=60744
* Admit that we validate more than 1.0Matthias Clasen2013-07-191-1/+1
| | | | | | While the versioning of the spec itself is in a somewhat sad state, it is more realistic to say we are validating according to 1.1 than to 1.0.
* Warn about OnlyShowIn in Action groupsMatthias Clasen2013-07-191-2/+2
| | | | | This was recently removed from the desktop entry spec, see https://bugs.freedesktop.org/show_bug.cgi?id=66712
* Add DBusActivatable key to allowed keysMatthias Clasen2013-07-191-0/+2
| | | | This is a recent addition to the desktop entry spec.
* Update the desktop-file-validate man pageMatthias Clasen2013-07-181-2/+5
| | | | | | The man page was not mentioning --no-hints, and was referring to version 1.0 of the desktop entry spec. This commit fixes both issues.
* Tweak help output to stay within 80 columnsMatthias Clasen2013-07-181-1/+1
|
* autogen.sh: Honor NOCONFIGURE=1Colin Walters2013-05-201-4/+5
| | | | See http://people.gnome.org/~walters/docs/build-api.txt
* update-desktop-database: List only once a desktop file per mime typeVincent Untz2013-01-071-0/+7
| | | | | | | | | If a desktop file is registering the same mime type more than once (useless but okay), the desktop file was listed more than once for that mime type in mimeinfo.cache. It's easy to avoid, so make sure we only have a desktop file once per mime type.
* release: post-release bump to 0.22Vincent Untz2012-10-111-1/+1
|
* release: 0.210.21Vincent Untz2012-10-111-0/+19
|
* validate: Add Feed category, that can be used with NetworkVincent Untz2012-10-111-0/+1
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=20197 See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
* validate: Add Network as related category for MonitorVincent Untz2012-10-111-1/+1
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=49699 See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html