* Updated references to StyledEdit.

* Added some more types we got contributed on the mailing list (sorry, don't remember
  right now from whom...), since Ingo didn't do it yet. All usable text and video
  types are imported and cleaned where useful.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-05-15 16:46:03 +00:00
parent a45ebf0c79
commit 9c20789426
8 changed files with 82 additions and 11 deletions

View File

@ -3,9 +3,8 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/html";
resource(2, "META:SNIFF_RULE") #'CSTR' array
{
"0.40 [0:64]( -i \"<HTML\" | \"<HEAD\" | \"<TITLE\" | \""
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.40 [0:64]( -i \"<HTML\" | \"<HEAD\" | \"<TITLE\" | \""
"<BODY\" | \"<TABLE\" | \"<!--\" | \"<META\" | \"<CENTER\")"
};
@ -13,8 +12,7 @@ resource(3, "META:S:DESC") #'MSDC' "HTML File";
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Be-NPOS";
resource(5, "META:EXTENS") message(234)
{
resource(5, "META:EXTENS") message(234) {
"extensions" = "htm",
"extensions" = "html",
"type" = "text/html"

View File

@ -10,7 +10,7 @@ resource(3, "META:EXTENS") message(234) {
"type" = "text/plain"
};
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.obos.styled-edit";
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";
resource(5, "META:L:STD_ICON") #'ICON' array {
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"

View File

@ -0,0 +1,15 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/rtf";
resource(2, "META:S:DESC") #'MSDC' "RTF File";
resource(3, "META:EXTENS") message(234) {
"extensions" = "rtf",
"type" = "text/rtf"
};
resource(4, "META:SNIFF_RULE") "0.50 (\"\\173\\134rtf\")";
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";

View File

@ -3,24 +3,25 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/x-source-code";
resource(2, "META:SNIFF_RULE") #'CSTR' array
{
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.20 ([0]\"//\" | [0]\"/*\" | [0:32]\"#include\" | [0:3"
"2]\"#ifndef\" | [0:32]\"#ifdef\")"
};
resource(3, "META:S:DESC") #'MSDC' "Source Code";
resource(4, "META:EXTENS") message(234)
{
resource(4, "META:EXTENS") message(234) {
"extensions" = "asm",
"extensions" = "c",
"extensions" = "cc",
"extensions" = "cpp",
"extensions" = "h",
"extensions" = "h++",
"extensions" = "java",
"extensions" = "pl",
"extensions" = "py",
"extensions" = "S",
"type" = "text/x-source-code"
};
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.obos.styled-edit";
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";

View File

@ -0,0 +1,13 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/xml";
resource(2, "META:S:DESC") #'MSDC' "XML File";
resource(3, "META:EXTENS") message(234) {
"extensions" = "xml",
"type" = "text/xml"
};
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";

View File

@ -0,0 +1,13 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "video/mp4";
resource(2, "META:S:DESC") #'MSDC' "MP4 Movie";
resource(3, "META:EXTENS") message(234) {
"extensions" = "mp4",
"type" = "video/mp4"
};
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";

View File

@ -0,0 +1,16 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "video/quicktime";
resource(2, "META:S:DESC") #'MSDC' "Quicktime Movie";
resource(3, "META:SNIFF_RULE") "0.50 (\"[4]\"mdat\" | [4]\"moov\"\")";
resource(4, "META:EXTENS") message(234) {
"extensions" = "mov",
"extensions" = "qt",
"type" = "video/quicktime"
};
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";

View File

@ -0,0 +1,15 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "video/x-ms-asf";
resource(2, "META:SNIFF_RULE") "0.50 (\"\\060\\046\\262\\165\")";
resource(3, "META:S:DESC") #'MSDC' "Microsoft ASF Movie";
resource(4, "META:EXTENS") message(234) {
"extensions" = "asf",
"type" = "video/x-ms-asf"
};
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";