Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
No matter how many times I make this mistake...
|
|
Just like the string list before it, we see a substantial performance
improvement from converting DfiTextIndex to be based on GHashTable instead of
GSequence.
|
|
This makes it match the way we write the keyfile to the index, which prevents a
failed assert in the case that we have entries before the first group. That's
technically invalid, but we should be able to deal with invalid input without
aborting.
|
|
|
|
Create a new file for the code that builds the mime cache. We still
do the actual write to disk from the main file, though.
|
|
...instead of our custom-rolled macros.
This will allow splitting users of the logging functions into separate
files that don't need direct access to global variables.
|
|
Separate the building of the cache data from the writing of the file.
This will allow us to have more control over when/how we write the cache
to disk and will also let us move the logic for generating the cache to
a separate file.
|
|
Also remove some unnecessary forward declarations.
|
|
Instead of our own unsafe (non-fsyncing) homebrewed version of the same.
|
|
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.
|
|
This was recently removed from the desktop entry spec,
see https://bugs.freedesktop.org/show_bug.cgi?id=66712
|
|
This is a recent addition to the desktop entry spec.
|
|
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.
|
|
|
|
See http://people.gnome.org/~walters/docs/build-api.txt
|
|
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.
|
|
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=20197
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=49699
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=38553
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=20187
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=20186
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=20186
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=20192
See http://lists.freedesktop.org/archives/xdg/2012-October/012525.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=35844
See http://lists.freedesktop.org/archives/xdg/2012-October/012526.html
|
|
|
|
We try to validate as much as we can the content of AutostartCondition.
This means:
- for GNOME3, we check that if-session/unless-session is used with an
additional argument
- for GSettings, we check that two arguments are passed
Additionally, we now add more validation for the GNOME condition (one
argument needs to be passed).
https://bugs.freedesktop.org/show_bug.cgi?id=55483
|
|
AudioVideo is required if Audio or Video is present, and that would be
two main categories. But in that case, this is okay. So we need to
ignore the case of two main categories when one is required by the
other.
|
|
In some messages, we don't display the key value, but one item of the
value (which is a list). Make this clearer.
|
|
Now that related categories are not required (in general, see below for
an exception), we don't need to error out when they're missing. Still,
it's nice to suggest them with a hint.
Note that there are still cases where another category is required
(AudioVideo for Audio, for instance).
Part of https://bugs.freedesktop.org/show_bug.cgi?id=35844 (comment 6
and later)
|
|
See http://lists.freedesktop.org/archives/xdg/2011-November/012106.html
|
|
|
|
The requirement to have at least one main category was removed for the
specification a few months ago. It's still useful to tell people with a
hint about the risk of not including one, though.
See http://lists.freedesktop.org/archives/xdg/2011-November/012123.html
Part of https://bugs.freedesktop.org/show_bug.cgi?id=35844 (comment 6
and later)
|
|
This is useful to suggest improvements to the user.
|
|
See http://lists.freedesktop.org/archives/xdg/2012-April/012374.html
|
|
See http://lists.freedesktop.org/archives/xdg/2012-March/012302.html and
http://lists.freedesktop.org/archives/xdg/2012-April/012348.html
|
|
We still only check for an older version of glib, and requiring 2.28
just for g_slist_free_full() can be silly. So if we don't have 2.28,
just use the equivalent trivial code.
https://bugs.freedesktop.org/show_bug.cgi?id=48133
|
|
|
|
|
|
One small fix worth mentioning is that we don't consider seeing an Exec
key in an action group as having seen an Exec key in the main group.
|
|
Destkop Actions were recently reintroduced in the specification, with
full specification of semantics and allowed keys.
Previously the validator would allow and ignore any desktop action
description, now it requires them to be compliant.
|
|
|
|
|
|
See http://lists.freedesktop.org/archives/xdg/2012-January/012250.html
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=44098
|