Ticket #2032 (closed enhancement: fixed)
Opened 7 years ago
Last modified 6 years ago
Trac browser doesn't allow direct viewing of .mm files
| Reported by: | jack@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | version control/browser | Version: | 0.8.4 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 7 years ago by dna
comment:2 Changed 7 years ago by cboos
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 Changed 7 years ago by cmlenz
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 Changed 7 years ago by cmlenz
- Milestone set to 0.9
- Owner changed from jonas to cmlenz
- Status changed from new to assigned
comment:5 Changed 7 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [2212].



Use the svn:property to set the mimetype to: