#2032 closed enhancement (fixed)
Trac browser doesn't allow direct viewing of .mm files
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | version control/browser | Version: | 0.8.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The .mm extension is somewhat common in Mac programming nowadays; It's a source code file that can contain a mix of c++ and objective-c. Neither 0.8.4 (in source:tags/trac-0.8.4/trac/Mimeview.py) nor the trunk (in source:trunk/trac/mimeview/api.py) include it in their MIME_MAP list. It should probably be in there, just a duplicate of the definition for .m files, so that these files can be viewed in the browser
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
I wonder if such kind of configuration couldn't be done using the Wiki: for the InterWiki configuration, it's common to have an editable list of InterWiki prefix and their corresponding address.
It could be interesting to have a MimeMap page which would do the same for files suffixes and their associated types.
comment:3 by , 19 years ago
cboos, that would make the mimeviewer sub-system depend on the wiki sub-system, which I don't think is a good idea.
comment:4 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Use the svn:property to set the mimetype to: