summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjvoisin2012-02-01 22:56:04 +0100
committerjvoisin2012-02-01 22:56:04 +0100
commit544fe9bf1782a027b3f31bf4c10a050d783e32ac (patch)
treea8dd60b9ae45efea4875fdb827070531f0199717 /lib
parent9ea6dc6960cebfa70d18ba8ee49d775ea91c9b34 (diff)
Rename mat-cli to mat-gui
Diffstat (limited to '')
-rw-r--r--lib/FORMATS94
-rw-r--r--lib/__init__.py (renamed from mat/__init__.py)0
-rw-r--r--lib/archive.py (renamed from mat/archive.py)0
-rw-r--r--lib/audio.py (renamed from mat/audio.py)0
-rw-r--r--lib/bencode/__init__.py (renamed from mat/bencode/__init__.py)0
-rw-r--r--lib/bencode/bencode.py (renamed from mat/bencode/bencode.py)0
-rw-r--r--lib/exiftool.py (renamed from mat/exiftool.py)0
-rw-r--r--lib/hachoir_editor/__init__.py (renamed from mat/hachoir_editor/__init__.py)0
-rw-r--r--lib/hachoir_editor/field.py (renamed from mat/hachoir_editor/field.py)0
-rw-r--r--lib/hachoir_editor/fieldset.py (renamed from mat/hachoir_editor/fieldset.py)0
-rw-r--r--lib/hachoir_editor/typed_field.py (renamed from mat/hachoir_editor/typed_field.py)0
-rw-r--r--lib/images.py (renamed from mat/images.py)0
-rw-r--r--lib/mat.py (renamed from mat/mat.py)0
-rw-r--r--lib/misc.py (renamed from mat/misc.py)0
-rw-r--r--lib/office.py (renamed from mat/office.py)0
-rw-r--r--lib/parser.py (renamed from mat/parser.py)0
-rw-r--r--lib/strippers.py (renamed from mat/strippers.py)0
-rw-r--r--lib/tarfile/__init__.py (renamed from mat/tarfile/__init__.py)0
-rw-r--r--lib/tarfile/tarfile.py (renamed from mat/tarfile/tarfile.py)0
19 files changed, 94 insertions, 0 deletions
diff --git a/lib/FORMATS b/lib/FORMATS
new file mode 100644
index 0000000..c497524
--- /dev/null
+++ b/lib/FORMATS
@@ -0,0 +1,94 @@
1<xml>
2 <format>
3 <name>Portable Network Graphics</name>
4 <extension>.png</extension>
5 <support>full</support>
6 <metadata>textual metadata + date</metadata>
7 <method>removal of harmful fields is done with hachoir</method>
8 </format>
9
10 <format>
11 <name>Jpeg</name>
12 <extension>.jpeg, .jpg</extension>
13 <support>full</support>
14 <metadata>comment + exif/photoshop/adobe</metadata>
15 <method>removal of harmful fields is done with hachoir</method>
16 </format>
17
18 <format>
19 <name>Open Document</name>
20 <extension>.odt, .odx, .ods, ...</extension>
21 <support>full</support>
22 <metadata>a meta.xml file</metadata>
23 <method>removal of the meta.xml file</method>
24 </format>
25
26 <format>
27 <name>Office Openxml</name>
28 <extension>.docx, .pptx, .xlsx, ...</extension>
29 <support>full</support>
30 <metadata>a docProps folder containings xml metadata files</metadata>
31 <method>removal of the docProps folder</method>
32 </format>
33
34 <format>
35 <name>Portable Document Fileformat</name>
36 <extension>.pdf</extension>
37 <support>full</support>
38 <metadata>a lot</metadata>
39 <method>rendering of the pdf file on a cairo surface with the help of
40 poppler in order to remove all the internal metadata,
41 then removal of the remaining metadata fields of the pdf itself with
42 pdfrw (the next version of python-cairo will support metadata,
43 so we should get rid of pdfrw)</method>
44 </format>
45
46 <format>
47 <name>Tape ARchive</name>
48 <extension>.tar, .tar.bz2, .tar.gz</extension>
49 <support>full</support>
50 <metadata>metadata from the file itself, metadata from the file contained
51 into the archive, and metadata added by tar to the file at then
52 creation of the archive</metadata>
53 <method>extraction of each file, treatement of the file, add treated file
54 to a new archive, right before the add, remove the metadata added by tar
55 itself. When the new archive is complete, remove all his metadata.</method>
56 </format>
57
58 <format>
59 <name>Zip</name>
60 <extension>.zip</extension>
61 <support>.partial</support>
62 <metadata>metadata from the file itself, metadata from the file contained
63 into the archive, and metadata added by zip to the file when added to
64 the archive.
65 </metadata>
66 <method>extraction of each file, treatement of the file, add treated file
67 to a new archive. When the new archive is complete, remove all his metadata</method>
68 <remaining>metadata added by zip itself to internal files</remaining>
69 </format>
70
71 <format>
72 <name>MPEG Audio</name>
73 <extension>.mp3, .mp2, .mp1</extension>
74 <support>full</support>
75 <metadata>id3</metadata>
76 <method>removal of harmful fields is done with hachoir</method>
77 </format>
78
79 <format>
80 <name>Ogg Vorbis</name>
81 <extension>.ogg</extension>
82 <support>full</support>
83 <metadata>Vorbis</metadata>
84 <method>removal of harmful fields is done with mutagen</method>
85 </format>
86
87 <format>
88 <name>Free Lossless Audio Codec</name>
89 <extension>.flac</extension>
90 <support>full</support>
91 <metadata>Flac, Vorbis</metadata>
92 <method>removal of harmful fields is done with mutagen</method>
93 </format>
94</xml>
diff --git a/mat/__init__.py b/lib/__init__.py
index 8b13789..8b13789 100644
--- a/mat/__init__.py
+++ b/lib/__init__.py
diff --git a/mat/archive.py b/lib/archive.py
index 9993102..9993102 100644
--- a/mat/archive.py
+++ b/lib/archive.py
diff --git a/mat/audio.py b/lib/audio.py
index ed849ee..ed849ee 100644
--- a/mat/audio.py
+++ b/lib/audio.py
diff --git a/mat/bencode/__init__.py b/lib/bencode/__init__.py
index 8b13789..8b13789 100644
--- a/mat/bencode/__init__.py
+++ b/lib/bencode/__init__.py
diff --git a/mat/bencode/bencode.py b/lib/bencode/bencode.py
index 739ffe5..739ffe5 100644
--- a/mat/bencode/bencode.py
+++ b/lib/bencode/bencode.py
diff --git a/mat/exiftool.py b/lib/exiftool.py
index 758a094..758a094 100644
--- a/mat/exiftool.py
+++ b/lib/exiftool.py
diff --git a/mat/hachoir_editor/__init__.py b/lib/hachoir_editor/__init__.py
index 1835676..1835676 100644
--- a/mat/hachoir_editor/__init__.py
+++ b/lib/hachoir_editor/__init__.py
diff --git a/mat/hachoir_editor/field.py b/lib/hachoir_editor/field.py
index 6b1efe3..6b1efe3 100644
--- a/mat/hachoir_editor/field.py
+++ b/lib/hachoir_editor/field.py
diff --git a/mat/hachoir_editor/fieldset.py b/lib/hachoir_editor/fieldset.py
index a74c8e2..a74c8e2 100644
--- a/mat/hachoir_editor/fieldset.py
+++ b/lib/hachoir_editor/fieldset.py
diff --git a/mat/hachoir_editor/typed_field.py b/lib/hachoir_editor/typed_field.py
index 0f0427b..0f0427b 100644
--- a/mat/hachoir_editor/typed_field.py
+++ b/lib/hachoir_editor/typed_field.py
diff --git a/mat/images.py b/lib/images.py
index 3eb3544..3eb3544 100644
--- a/mat/images.py
+++ b/lib/images.py
diff --git a/mat/mat.py b/lib/mat.py
index 53d02d8..53d02d8 100644
--- a/mat/mat.py
+++ b/lib/mat.py
diff --git a/mat/misc.py b/lib/misc.py
index d084861..d084861 100644
--- a/mat/misc.py
+++ b/lib/misc.py
diff --git a/mat/office.py b/lib/office.py
index e1d738e..e1d738e 100644
--- a/mat/office.py
+++ b/lib/office.py
diff --git a/mat/parser.py b/lib/parser.py
index 6dc5d0b..6dc5d0b 100644
--- a/mat/parser.py
+++ b/lib/parser.py
diff --git a/mat/strippers.py b/lib/strippers.py
index 7d27874..7d27874 100644
--- a/mat/strippers.py
+++ b/lib/strippers.py
diff --git a/mat/tarfile/__init__.py b/lib/tarfile/__init__.py
index 8b13789..8b13789 100644
--- a/mat/tarfile/__init__.py
+++ b/lib/tarfile/__init__.py
diff --git a/mat/tarfile/tarfile.py b/lib/tarfile/tarfile.py
index a40f9fc..a40f9fc 100644
--- a/mat/tarfile/tarfile.py
+++ b/lib/tarfile/tarfile.py