On Saturday 01 October 2011 17:08:43 Johannes Pfau wrote:
Maybe the testsuite has a different understanding of match-by-name than
me: My library allows to explicitly do the matching by filename
only (useful when a file doesn't exist (yet)).
No, that's correct, we all have the same
On Saturday 01 October 2011 17:08:43 Johannes Pfau wrote:
When checking multiple mime.cache files: Should I check those one after
one or should I first do glob matches in all databases, then magic
matches in all data bases, etc?
The definitions in later levels override those in earlier levels.
Am 25.09.2011 09:08, schrieb David Faure:
Hi Johannes,
Many questions in a single email :-)
On Tuesday 09 August 2011 18:54:34 Johannes Pfau wrote:
The LiteralList:
Is it safe to assume that the list is consistent?
I.e. could there be a case insensitive Hello entry and another,
Am 26.09.2011 10:07, schrieb Alexander Larsson:
On Sun, 2011-09-25 at 09:08 +0200, David Faure wrote:
Hi Johannes,
[skipping a few questions about mime.cache which I don't know yet]
ReverseSuffixTreeNode.CHARACTER: What encoding is used? I guess UTF32?
UTF-8, rather? I don't think this code
On Monday 26 September 2011 10:07:45 Alexander Larsson wrote:
The text check should be done in xdg_mime_get_mime_type_for_data, not
just _xdg_mime_cache_get_mime_type_for_data, in case some directory
doesn't have a cache file and we fall back on using the magic file.
Indeed, I missed a code
On Sun, 2011-09-25 at 09:08 +0200, David Faure wrote:
Hi Johannes,
[skipping a few questions about mime.cache which I don't know yet]
ReverseSuffixTreeNode.CHARACTER: What encoding is used? I guess UTF32?
UTF-8, rather? I don't think this code uses UTF-32 anywhere.
Not sure it was tested
On Mon, 2011-09-26 at 10:07 +0200, Alexander Larsson wrote:
On Sun, 2011-09-25 at 09:08 +0200, David Faure wrote:
snip
I just committed it, but I'm attaching the patch so that Alexander or
Bastien
can review it, this is my first commit to xdgmime [which seems to still be
in
CVS? I
Hi Johannes,
Many questions in a single email :-)
On Tuesday 09 August 2011 18:54:34 Johannes Pfau wrote:
The LiteralList:
Is it safe to assume that the list is consistent?
I.e. could there be a case insensitive Hello entry and another,
conflicting, case insensitive hello entry?
Can the
Hi,
I'm writing a MIME implementation for the D programming language. As I
want to eventually submit this for inclusion in the D standard library
it must be boost licensed and I therefore can't look at existing
implementations. This means I can only use the specification and the
mime test database