Fossil SCM

Add mimetype mappings for .docx, .pptx, and .xlsx.

drh 2012-12-01 20:17 trunk
Commit 4e23c42f7eb54e080c7eb5080e9780fd5aa93e3a
1 file changed +3
+3
--- src/doc.c
+++ src/doc.c
@@ -122,10 +122,11 @@
122122
{ "deb", 3, "application/x-debian-package" },
123123
{ "dir", 3, "application/x-director" },
124124
{ "dl", 2, "video/dl" },
125125
{ "dms", 3, "application/octet-stream" },
126126
{ "doc", 3, "application/msword" },
127
+ { "docx", 4, "application/msword" },
127128
{ "drw", 3, "application/drafting" },
128129
{ "dvi", 3, "application/x-dvi" },
129130
{ "dwg", 3, "application/acad" },
130131
{ "dxf", 3, "application/dxf" },
131132
{ "dxr", 3, "application/x-director" },
@@ -199,10 +200,11 @@
199200
{ "pnm", 3, "image/x-portable-anymap" },
200201
{ "pot", 3, "application/mspowerpoint" },
201202
{ "ppm", 3, "image/x-portable-pixmap" },
202203
{ "pps", 3, "application/mspowerpoint" },
203204
{ "ppt", 3, "application/mspowerpoint" },
205
+ { "pptx", 4, "application/mspowerpoint" },
204206
{ "ppz", 3, "application/mspowerpoint" },
205207
{ "pre", 3, "application/x-freelance" },
206208
{ "prt", 3, "application/pro_eng" },
207209
{ "ps", 2, "application/postscript" },
208210
{ "qt", 2, "video/quicktime" },
@@ -273,10 +275,11 @@
273275
{ "xbm", 3, "image/x-xbitmap" },
274276
{ "xlc", 3, "application/vnd.ms-excel" },
275277
{ "xll", 3, "application/vnd.ms-excel" },
276278
{ "xlm", 3, "application/vnd.ms-excel" },
277279
{ "xls", 3, "application/vnd.ms-excel" },
280
+ { "xlsx", 4, "application/vnd.ms-excel" },
278281
{ "xlw", 3, "application/vnd.ms-excel" },
279282
{ "xml", 3, "text/xml" },
280283
{ "xpm", 3, "image/x-xpixmap" },
281284
{ "xwd", 3, "image/x-xwindowdump" },
282285
{ "xyz", 3, "chemical/x-pdb" },
283286
--- src/doc.c
+++ src/doc.c
@@ -122,10 +122,11 @@
122 { "deb", 3, "application/x-debian-package" },
123 { "dir", 3, "application/x-director" },
124 { "dl", 2, "video/dl" },
125 { "dms", 3, "application/octet-stream" },
126 { "doc", 3, "application/msword" },
 
127 { "drw", 3, "application/drafting" },
128 { "dvi", 3, "application/x-dvi" },
129 { "dwg", 3, "application/acad" },
130 { "dxf", 3, "application/dxf" },
131 { "dxr", 3, "application/x-director" },
@@ -199,10 +200,11 @@
199 { "pnm", 3, "image/x-portable-anymap" },
200 { "pot", 3, "application/mspowerpoint" },
201 { "ppm", 3, "image/x-portable-pixmap" },
202 { "pps", 3, "application/mspowerpoint" },
203 { "ppt", 3, "application/mspowerpoint" },
 
204 { "ppz", 3, "application/mspowerpoint" },
205 { "pre", 3, "application/x-freelance" },
206 { "prt", 3, "application/pro_eng" },
207 { "ps", 2, "application/postscript" },
208 { "qt", 2, "video/quicktime" },
@@ -273,10 +275,11 @@
273 { "xbm", 3, "image/x-xbitmap" },
274 { "xlc", 3, "application/vnd.ms-excel" },
275 { "xll", 3, "application/vnd.ms-excel" },
276 { "xlm", 3, "application/vnd.ms-excel" },
277 { "xls", 3, "application/vnd.ms-excel" },
 
278 { "xlw", 3, "application/vnd.ms-excel" },
279 { "xml", 3, "text/xml" },
280 { "xpm", 3, "image/x-xpixmap" },
281 { "xwd", 3, "image/x-xwindowdump" },
282 { "xyz", 3, "chemical/x-pdb" },
283
--- src/doc.c
+++ src/doc.c
@@ -122,10 +122,11 @@
122 { "deb", 3, "application/x-debian-package" },
123 { "dir", 3, "application/x-director" },
124 { "dl", 2, "video/dl" },
125 { "dms", 3, "application/octet-stream" },
126 { "doc", 3, "application/msword" },
127 { "docx", 4, "application/msword" },
128 { "drw", 3, "application/drafting" },
129 { "dvi", 3, "application/x-dvi" },
130 { "dwg", 3, "application/acad" },
131 { "dxf", 3, "application/dxf" },
132 { "dxr", 3, "application/x-director" },
@@ -199,10 +200,11 @@
200 { "pnm", 3, "image/x-portable-anymap" },
201 { "pot", 3, "application/mspowerpoint" },
202 { "ppm", 3, "image/x-portable-pixmap" },
203 { "pps", 3, "application/mspowerpoint" },
204 { "ppt", 3, "application/mspowerpoint" },
205 { "pptx", 4, "application/mspowerpoint" },
206 { "ppz", 3, "application/mspowerpoint" },
207 { "pre", 3, "application/x-freelance" },
208 { "prt", 3, "application/pro_eng" },
209 { "ps", 2, "application/postscript" },
210 { "qt", 2, "video/quicktime" },
@@ -273,10 +275,11 @@
275 { "xbm", 3, "image/x-xbitmap" },
276 { "xlc", 3, "application/vnd.ms-excel" },
277 { "xll", 3, "application/vnd.ms-excel" },
278 { "xlm", 3, "application/vnd.ms-excel" },
279 { "xls", 3, "application/vnd.ms-excel" },
280 { "xlsx", 4, "application/vnd.ms-excel" },
281 { "xlw", 3, "application/vnd.ms-excel" },
282 { "xml", 3, "text/xml" },
283 { "xpm", 3, "image/x-xpixmap" },
284 { "xwd", 3, "image/x-xwindowdump" },
285 { "xyz", 3, "chemical/x-pdb" },
286

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button