#3332: Finalize the Mimeview API changes for 0.10
---------------------+------------------------------------------------------
 Reporter:  cboos    |       Owner:  jonas   
     Type:  task     |      Status:  new     
 Priority:  high     |   Milestone:  0.10    
Component:  general  |     Version:  0.9.5   
 Severity:  blocker  |    Keywords:  mimeview
---------------------+------------------------------------------------------
 We recently introduced the `IContentConverter` interface,
 and there are some issues remaining with this:
  - the methods for that interface are quite complex, not really extensible
  - the usage of strings for model objects should be replace by using
    the corresponding classes
  - artificial differences from the `IHTMLPreviewRenderer`,
    and duplicated code (mainly between `Mimeview.render`
    and `Mimeview.convert_content`)

 Besides, there are other issues with the Mimetype API:
  - `content_to_unicode` needs to be deprecated/simplified
    as well
  - simplify the handling of mimetypes strings (the fact that
    they sometimes have the charset info, sometimes not)
  - in general, aim to simplify the code that uses the mimeview API

 Work in progress. A patch will be attached today or tomorrow
 for review.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3332>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to