OSDN Git Service

Fix compilation errors on Test solution configuration
[winmerge-jp/winmerge-jp.git] / Plugins / Plugins.xml
1 <?xml version="1.0"?>
2 <plugins>
3   <plugin name="PrettifyHTML">
4     <event value="FILE_PACK_UNPACK" />
5     <description value="HTML Prettier with tidy-html5. &#xD;&#xA;Arguments: Command line arugments passed to the tidy command." />
6     <file-filters value="\.html$;\.htm$" />
7     <is-automatic value="false" />
8     <unpacked-file-extension value=".html" />
9     <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify HTML;GenerateEditorScript" />
10     <arguments value="-indent --indent-attributes yes --tab-size 4 --indent-spaces 4 -wrap 0 --sort-attributes alpha " />
11     <unpack-file>
12       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\tidy-html5\tidy.exe" ${*} --force-output yes -o "${DST_FILE}" | exit 0"</command>
13     </unpack-file>
14   </plugin>
15   <plugin name="PrettifyXML">
16     <event value="FILE_PACK_UNPACK" />
17     <description value="XML Prettier with tidy-html5. &#xD;&#xA;Arguments: Command line arugments passed to the tidy command." />
18     <file-filters value="\.xml$" />
19     <is-automatic value="false" />
20     <unpacked-file-extension value=".xml" />
21     <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify XML;GenerateEditorScript" />
22     <arguments value="-xml -indent --indent-attributes yes --tab-size 4 --indent-spaces 4 -wrap 0 --sort-attributes alpha" />
23     <unpack-file>
24       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\tidy-html5\tidy.exe" ${*} --force-output yes -o "${DST_FILE}" | exit 0"</command>
25     </unpack-file>
26   </plugin>
27   <plugin name="PrettifyJSON">
28     <event value="FILE_PACK_UNPACK" />
29     <description value="JSON Prettier with jq command. &#xD;&#xA;Arguments: Filter or command line options passed to the jq command." />
30     <file-filters value="\.json$" />
31     <is-automatic value="false" />
32     <unpacked-file-extension value=".json" />
33     <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify JSON;GenerateEditorScript" />
34     <arguments value="&quot;.&quot;" />
35     <unpack-file>
36     <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} &gt; "${DST_FILE}"</command>
37     </unpack-file>
38   </plugin>
39   <plugin name="PrettifyYAML">
40     <event value="FILE_PACK_UNPACK" />
41     <description value="YAML Prettier with yq command. &#xD;&#xA;Arguments: Filter or command line options passed to the yq command." />
42     <file-filters value="\.yaml$;\.yml$" />
43     <is-automatic value="false" />
44     <unpacked-file-extension value=".yaml" />
45     <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify YAML;GenerateEditorScript" />
46     <arguments value="-P e" />
47     <unpack-file>
48     <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} &gt; "${DST_FILE}"</command>
49     </unpack-file>
50   </plugin>
51   <plugin name="QueryCSV">
52     <event value="FILE_PACK_UNPACK" />
53     <description value="CSV Querier with q command. &#xD;&#xA;Arguments: SQL statement or command line options passed to the q command." />
54     <file-filters value="\.csv$" />
55     <is-automatic value="false" />
56     <unpacked-file-extension value=".csv" />
57     <extended-properties value="ProcessType=Data Query;MenuCaption=Query CSV Data...;ArgumentsRequired" />
58     <arguments value="&quot;SELECT * FROM -&quot;" />
59     <unpack-file>
60       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -d , ${*} &gt; "${DST_FILE}"</command>
61     </unpack-file>
62   </plugin>
63   <plugin name="QueryTSV">
64     <event value="FILE_PACK_UNPACK" />
65     <description value="TSV Querier with q command. &#xD;&#xA;Arguments: SQL statement or command line options passed to the q command." />
66     <file-filters value="\.tsv$" />
67     <is-automatic value="false" />
68     <unpacked-file-extension value=".tsv" />
69     <extended-properties value="ProcessType=Data Query;MenuCaption=Query TSV Data...;ArgumentsRequired" />
70     <arguments value="&quot;SELECT * FROM -&quot;" />
71     <unpack-file>
72       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -t ${*} &gt; "${DST_FILE}"</command>
73     </unpack-file>
74   </plugin>
75   <plugin name="QueryJSON">
76     <event value="FILE_PACK_UNPACK" />
77     <description value="JSON Querier with jq command. &#xD;&#xA;Arguments: Filter or command line options passed to the jq command." />
78     <file-filters value="\.json$" />
79     <is-automatic value="false" />
80     <unpacked-file-extension value=".json" />
81     <extended-properties value="ProcessType=Data Query;MenuCaption=Query JSON Data...;ArgumentsRequired" />
82     <arguments value="&quot;.&quot;" />
83     <unpack-file>
84       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} &gt; "${DST_FILE}"</command>
85     </unpack-file>
86   </plugin>
87   <plugin name="QueryYAML">
88     <event value="FILE_PACK_UNPACK" />
89     <description value="YAML Querier with yq command. &#xD;&#xA;Arguments: Filter or command line options passed to the yq command." />
90     <file-filters value="\.yaml$;\.yml$" />
91     <is-automatic value="false" />
92     <unpacked-file-extension value=".yaml" />
93     <extended-properties value="ProcessType=Data Query;MenuCaption=Query YAML Data...;ArgumentsRequired" />
94     <arguments value="e &quot;.&quot; -" />
95     <unpack-file>
96       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} &gt; "${DST_FILE}"</command>
97     </unpack-file>
98   </plugin>
99   <plugin name="ValidateHTML">
100     <event value="FILE_PACK_UNPACK" />
101     <description value="HTML Validator with tidy-html5. &#xD;&#xA;Arguments: Command line arugments passed to the tidy command." />
102     <file-filters value="\.html$;\.htm$" />
103     <is-automatic value="false" />
104     <unpacked-file-extension value=".html" />
105     <extended-properties value="ProcessType=Validation;MenuCaption=Validate HTML" />
106     <arguments value="-e" />
107     <unpack-file>
108       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\tidy-html5\tidy.exe" ${*} 2> "${DST_FILE}" | exit 0"</command>
109     </unpack-file>
110   </plugin>
111   <plugin name="VisualizeGraphviz">
112     <event value="FILE_PACK_UNPACK" />
113     <description value="Graphviz Visualizer. &#xD;&#xA;Arguments: Command line options passed to the dot command." />
114     <file-filters value="\.gv;$\.dot$" />
115     <is-automatic value="false" />
116     <unpacked-file-extension value=".png" />
117     <extended-properties value="ProcessType=Visualization;MenuCaption=Visualize Graphviz" />
118     <arguments value="-Tpng" />
119     <unpack-file>
120       <command>dot.exe ${*} -o"${DST_FILE}" "${SRC_FILE}"</command>
121     </unpack-file>
122   </plugin>
123   <plugin name="ApacheTika">
124     <event value="FILE_PACK_UNPACK" />
125     <description value="General content extractor with Apache Tika. &#xD;&#xA;Arguments: Command line options passed to the tika-app.jar." />
126     <file-filters value="\.*$" />
127     <is-automatic value="false" />
128     <unpacked-file-extension value=".txt" />
129     <extended-properties value="ProcessType=Content Extraction;MenuCaption=Apache Tika;GenerateEditorScript" />
130     <arguments value="-eUTF-8 -t" />
131     <unpack-file>
132       <command>"${WINMERGE_HOME}\Commands\apache-tika\tika.bat" "${SRC_FILE}" "${DST_FILE}" ${*}</command>
133     </unpack-file>
134   </plugin>
135   <!--
136   <plugin name="VBScript-test">
137     <event value="FILE_PACK_UNPACK" />
138     <description value="VBScript test" />
139     <file-filters value="\.nomatch$" />
140     <is-automatic value="false" />
141     <unpacked-file-extension value=".txt" />
142     <unpack-file>
143       <command>cmd /c cscript //nologo "${SCRIPT_FILE}" "${SRC_FILE}" > "${DST_FILE}"</command>
144       <script fileExtension=".vbs">
145 WScript.StdOut.WriteLine "Hello World!"
146 WScript.StdOut.WriteLine WScript.Arguments(0)
147       </script>
148     </unpack-file>
149   </plugin>
150   -->
151 </plugins>