--- a/MIMETypes.st Mon May 26 09:59:50 2008 +0200
+++ b/MIMETypes.st Mon May 26 10:36:40 2008 +0200
@@ -160,6 +160,10 @@
put:#('//' ('/*' '*/')).
TypeToCommentStringMapping
+ at:'application/x-csharp-source'
+ put:#('//' ('/*' '*/')).
+
+ TypeToCommentStringMapping
at:'application/x-java-source'
put:#('//' ('/*' '*/')).
@@ -334,10 +338,10 @@
at:'application/x-smalltalk-source'
put:spec.
- "/ ST/X spec
+ "/ XML & HTML
spec := IdentityDictionary new.
spec at:#open put:#( $< ) .
- spec at:#close put:#( $< ).
+ spec at:#close put:#( $> ).
spec at:#ignore put:#( $' $" '$[' '$]' '${' '$)' ).
#('text/html' 'text/xml' 'application/xml')
@@ -347,7 +351,7 @@
put:spec
].
- "/ ANSI-c
+ "/ ANSI-c, Java, C#
spec := IdentityDictionary new.
spec at:#open put:#( $( $[ ${ ) .
spec at:#close put:#( $) $] $} ).
@@ -363,6 +367,10 @@
put:spec.
TypeToParentesisSpecMapping
+ at:'application/x-csharp-source'
+ put:spec.
+
+ TypeToParentesisSpecMapping
at:'application/x-java-source'
put:spec.
@@ -428,6 +436,7 @@
'c' 'application/x-c-source'
('cc' 'cpp') 'application/x-cpp-source'
+ 'cs' 'application/x-csharp-source'
('h' 'hi') 'application/x-c-header'
('js' 'mocha') 'application/x-javascript'
('java' 'jav') 'application/x-java-source'
@@ -1193,7 +1202,7 @@
!MIMETypes class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.90 2008-04-21 14:23:44 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.91 2008-05-26 08:36:40 cg Exp $'
! !
MIMETypes initialize!