Bug 360 - new mime-types related to mono (some of them)
Summary: new mime-types related to mono (some of them)
Status: RESOLVED INVALID
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-21 20:50 UTC by Todd Berman
Modified: 2011-05-25 05:43 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
monodevelop.xml (3.29 KB, text/plain)
2004-03-21 20:51 UTC, Todd Berman
Details
monodevelop.xml (3.42 KB, patch)
2004-04-25 09:33 UTC, Paweł Różański
Details | Splinter Review

Description Todd Berman 2004-03-21 20:50:28 UTC
some of these might be in the db already, as they cover some generic web
services stuff.

Some of these are also flexible on what actual mime-type they get, not super
important.

attached the .xml file we install with MonoDevelop
Comment 1 Todd Berman 2004-03-21 20:51:09 UTC
Created attachment 163 [details]
monodevelop.xml

there might be mono types missing, but i think we get them all...
Comment 2 Paweł Różański 2004-04-25 09:33:07 UTC
Created attachment 236 [details] [review]
monodevelop.xml
Comment 3 Paweł Różański 2004-04-25 09:33:58 UTC
Comment on attachment 236 [details] [review]
monodevelop.xml

we updated this file, here is the new copy
Comment 4 Reinout van Schouwen 2005-09-24 04:03:57 UTC
Is this bug the reason that Nautilus still calls Mono .exe files a DOS/Windows
executable?
Comment 5 Pino Toscano 2006-03-23 01:20:44 UTC
Why is:
   <mime-type type="text/x-js">
    <comment xml:lang="en">JScript source</comment>
    <glob pattern="*.js"/>
  </mime-type>
Afaik, the .js extension is used also for JavaScript files.
Comment 6 Sebastian Dröge (slomo) 2006-03-27 20:52:48 UTC
  <mime-type type="application/x-config">
    <comment xml:lang="en">Mono application config</comment>
    <glob pattern="*.config"/>
  </mime-type>

the .config files are in no way Mono specific so I would suggest using something
more general. Maybe "CLR application config"
Comment 7 Sebastian Dröge (slomo) 2006-04-13 20:03:17 UTC
Also the addition of boo would be nice...
It's text/x-boo with .boo as extension

http://boo.codehaus.org
Comment 8 Bastien Nocera 2006-07-09 02:54:01 UTC
Comment on attachment 236 [details] [review]
monodevelop.xml

><?xml version="1.0" encoding="UTF-8"?>
><mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">

Don't make a separate file out of those types, they should be integrated in
freedesktop.org.xml.in

>  <mime-type type="text/x-csharp">
>    <comment xml:lang="en">C# source</comment>

don't put the lang in here, the default is en, but mark those as translatable
(_comment instead of comment)

>    <glob pattern="*.cs"/>
>  </mime-type>

There's already text/x-csharp in the DB.

>  <mime-type type="text/x-msil">
>    <comment xml:lang="en">IL source</comment>
>    <glob pattern="*.il"/>

You need to use acronym and expanded-acronym when you have acronyms in your
type names.

<snip>
>  <mime-type type="text/x-js">
>    <comment xml:lang="en">JScript source</comment>
>    <glob pattern="*.js"/>
>  </mime-type>

This is definitely too narrow a definition, there's already
application/x-javascript for *.js

<snip>
>  <mime-type type="application/x-config">
>    <comment xml:lang="en">Mono application config</comment>
>    <glob pattern="*.config"/>
>  </mime-type>

That's far too narrow a definition as well.
Comment 9 Bastien Nocera 2011-05-25 05:43:41 UTC
No updated patch in 5 years.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.