1
0
mirror of synced 2024-11-25 18:54:22 +01:00
Commit Graph

242 Commits

Author SHA1 Message Date
Christian
e515d907d7 Make sure target directory exists, assume MAT2 is in parent directory 2018-09-05 17:42:13 +02:00
jvoisin
46bb1b83ea Improve the previous commit 2018-09-05 17:26:09 +02:00
Daniel Kahn Gillmor
1d7e374e5b office: try all members, even when one fails
the end result will be the same -- an abort -- but the user will get
to see all the warnings for a particular file, instead of getting them
one at a time.
2018-09-04 18:28:04 -04:00
Daniel Kahn Gillmor
915dc634c4 document all unknown/unhandlable files even on abort
This makes it easy to get a list of all files that mat2 doesn't know
how to handle, without having to choose -u keep or -u omit.
2018-09-04 18:28:04 -04:00
Daniel Kahn Gillmor
10d60bd398 add --unknown-members argument to mat2
This allows the user to make use of parser.unknown_member_policy for
archive formats.

At the suggestion of @jvoisin, it also prints a scary warning if the
user explicitly chooses 'keep'.
2018-09-04 18:28:04 -04:00
Daniel Kahn Gillmor
4192a2daa3 office: create policy for what to do about unknown members
previously, encountering an unknown member meant that any parser of
this type would abort.

now, the user can set parser.unknown_member_policy to either 'omit' or
'keep' if they don't want the current action of 'abort'

note that this causes pylint to complain about branching depth for
remove_all() because of the nuanced error-handling.  I've disabled
this check.
2018-09-04 16:13:33 -04:00
jvoisin
9ce458cb3b Update the release process to create signed tarballs 2018-09-03 14:28:00 +02:00
jvoisin
907fc591cc Bump the coverage back to 100% 2018-09-01 16:58:34 +02:00
jvoisin
8255293d1d Add a link to the mailing list 2018-09-01 16:45:20 +02:00
jvoisin
6b7e8ad8c0 Add a .mailmap file 2018-09-01 16:12:03 +02:00
jvoisin
b7a8622682 Bump the changelog 2018-09-01 16:00:41 +02:00
Daniel Kahn Gillmor
3e2890eb9e three minor spelling fixes 2018-09-01 06:47:22 -07:00
jvoisin
91e80527fc Add archlinux to the CI 2018-09-01 15:41:22 +02:00
jvoisin
7877ba0da5 Fix a minor formatting issue 2018-09-01 14:16:55 +02:00
dkg
e2634f7a50 Logging cleanup 2018-09-01 05:14:32 -07:00
jvoisin
aba9b72d2c Fix some leftovers from the previous commit 2018-08-26 01:10:48 +02:00
Antoine Tenart
15dd3d84ff nautilus: rename the nautilus plugin
Rename the Nautilus plugin (removing 'nautilus' from the file name) as
it already lives in its own 'nautilus' directory. The same argument
applies when installing the plugin in a distro.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-08-26 01:09:41 +02:00
Antoine Tenart
588466f4a8 INSTALL: add instructions for the Fedora copr
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-08-24 18:47:39 +02:00
Antoine Tenart
cf89ff45c2 gitignore: exclude all hidden files from being committed
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-08-24 09:14:05 +02:00
Antoine Tenart
f583d12564 nautilus: remove swp file
A .swp file was committed by mistake. Remove it.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-08-24 09:09:49 +02:00
jvoisin
1c72448e58 Improve the detection of unsupported extensions in uppercase 2018-08-23 21:28:37 +02:00
Antoine Tenart
f068621628 libmat2: images: fix handling of .JPG files
Pixbuf only supports .jpeg files, not .jpg, so libmat2 looks for such an
extension and converts it if necessary. As this check is case sensitive,
processing .JPG files does not work.

Fixes #47.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-08-23 20:43:27 +02:00
jvoisin
fe09d81ab1 Don't forget to tell the downstreams about new releases 2018-08-19 15:51:44 +02:00
jvoisin
5be66dbe91 Mention the Arch linux's AUR package of MAT2 2018-08-19 15:51:23 +02:00
jvoisin
ee496cfa7f Fix a typo spotted by @Francois_B 2018-08-19 15:51:09 +02:00
jvoisin
6e2e411a2a Add an INSTALL.md file 2018-08-08 20:45:09 +02:00
jvoisin
2ce1dc793e Bump the changelog 2018-08-03 22:20:24 +02:00
jvoisin
e27768824a Change mat2's logo 2018-08-03 21:45:41 +02:00
jvoisin
36c5bad140 Improve our .gitignore 2018-07-30 23:00:33 +02:00
jvoisin
b5a9520a60 Add a cli-related test 2018-07-30 22:54:41 +02:00
jvoisin
a1257c538b Add some tests about pathological files 2018-07-30 22:36:36 +02:00
Antoine Tenart
6d8e999f12 Rename image to icon in the Nautilus extension
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-07-26 09:01:27 +02:00
Antoine Tenart
1bc4c7aac9 Switch columns in the Nautilus extension
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-07-26 09:01:01 +02:00
Antoine Tenart
03245a8731 Rename the Nautilus path column to file
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-07-26 08:57:33 +02:00
Antoine Tenart
27445e9134 Rename the Nautilus exit button to close
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-07-26 08:57:09 +02:00
jvoisin
b32ba9f736 Improve a bit nautilus' popup 2018-07-25 22:48:05 +02:00
jvoisin
e9f28edf73 Add a man page and document how to keep it up to date 2018-07-24 22:34:33 +02:00
jvoisin
7697f9c085 Improve the linters' coverage 2018-07-23 23:55:45 +02:00
jvoisin
e920083559 The Nautilus extension is now working 2018-07-23 23:39:06 +02:00
georg
71b1ced842
AbstractParser: Fix typos 2018-07-21 00:46:48 +00:00
jvoisin
942859601d Improve the code's documentation 2018-07-19 23:10:27 +02:00
jvoisin
565cb66d14 Minor simplification in how we're handling xml for office files 2018-07-19 22:55:08 +02:00
jvoisin
052a356750 Implement a much better Nautilus extension thanks to @atenart
Co-authored-by: Antoine Tenart <antoine.tenart@ack.tf>
Co-authored-by: jvoisin <julien.voisin@dustri.org>
2018-07-19 00:11:30 +02:00
jvoisin
2f670651cf Minor cleanup of the Nautilus extension's code 2018-07-18 23:20:51 +02:00
jvoisin
0cd510938a Minor code simplification 2018-07-18 23:15:47 +02:00
jvoisin
dc026f99ad Show if files are supported or not in the Nautilus extension 2018-07-18 23:12:55 +02:00
jvoisin
0aac0d644d Show a pretty icon for files in the Nautilus extension 2018-07-18 22:53:56 +02:00
jvoisin
17e69b6005 Change a button in the nautilus extension 2018-07-18 22:39:18 +02:00
jvoisin
cf5f3b268d Add a separator for the Nautilus extension 2018-07-18 22:39:10 +02:00
jvoisin
a5eede9a21 Remove the disclaimer from the Nautilus extension 2018-07-18 22:38:42 +02:00