Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#2874 closed enhancement (fixed)

Add support for Dylan

Reported by: turbo24prg@… Owned by: Christian Boos
Priority: normal Milestone: 0.10
Component: general Version: 0.9.4
Severity: minor Keywords: enscript dylan syntax coloring
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

There's an enscript definition available for Dylan. Trac is missing Dylan's MIME definitions.

  • trac/mimeview/api.py:
     MIME_MAP = { 
       ... 
       'dylan':'text/x-dylan',
       ...
    
  • trac/mimeview/enscript.py:
 types = {
    ...
    'text/x-dylan':'dylan',
    ...

Would be very kind if this could be added. Thanks

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 19 years ago

Milestone: 0.10
Owner: changed from Jonas Borgström to Christian Boos
Severity: normalminor

Related to #1283… we need to define a way to make this user configurable.

What about

[mimeview]
mime-map = ice:text/x-idl dylan:text/x-dylan
enscript.types = text/x-dylan:dylan

comment:2 by turbo24prg@…, 19 years ago

Nice proposal. Is even better for projects handling with x-mime-types. Would be great if someone could implement this.

comment:3 by Christian Boos, 19 years ago

Resolution: fixed
Status: newclosed

Slightly enhanced proposal implemented in r3345 (now it's also possible to specify the quality ratio in the enscript_modes settings, e.g. text/x-dylan:dylan:5).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.