matiargs
75c0a750c1
Keep orientation metadata
2024-07-18 15:04:24 +00:00
jvoisin
a47ac01eb6
Remove a duplicate function
...
This is a leftover from today's best-effort merges.
2024-04-05 19:51:14 +02:00
Alex Marchant
156855ab7e
Remove dangling references from document.xml.rels
...
The file `word/_rels/document.xml.rels` is similar to `[Content_Types].xml` and
has references to other files in the archive. If those references aren't
removed Word refuses to open the document. # Please enter the commit message
for your changes. Lines starting
2024-04-05 18:45:58 +02:00
jvoisin
09672a2dcc
Merge branch 'alexmarchant-utf-8-encode-all'
2024-04-05 18:33:30 +02:00
Alex Marchant
f2c898c92d
Strip comment references from document.xml
2024-04-05 18:31:49 +02:00
Alex Marchant
f931a0ecee
Make utf-8 explicit in all tree.write calls
2024-04-03 15:27:48 -04:00
Alex Marchant
61f39c4bd0
Strip comment references from document.xml
2024-04-03 15:20:00 -04:00
Alex Marchant
1b9ce34e2c
Add test that checks if comments.xml is removed without errors
2024-04-03 15:03:33 -04:00
Alex Marchant
17e76ab6f0
Update comments file regex
2024-04-03 14:49:39 -04:00
jvoisin
94ef57c994
Add python3.12 in the CI
2024-01-02 02:50:44 +00:00
jvoisin
05d1ca5841
Improve the pyproject.yaml file
...
Prompted by !113
2023-12-31 18:34:39 +01:00
jvoisin
55b468ded7
Update Arch Linux package URL in INSTALL.md
...
Patch by https://github.com/felixonmars
2023-11-21 12:27:45 +01:00
jvoisin
0fcafa2edd
Raise a ValueError for invalid FLAC files to please mypy
2023-11-13 15:03:42 +01:00
Romain Vigier
7405955ab5
parsers: Inherit the sandbox option when creating additional parsers
2023-11-13 13:11:35 +01:00
Romain Vigier
e6564509e1
mat2: Fix the --no-sandbox argument
...
The --no-sandbox argument was parsed incorrectly, meaning no sandbox was
used when it was absent and the sandbox being used when it was present.
2023-11-13 13:06:38 +01:00
jvoisin
bbd5b2817c
Fix the CI on Debian
2023-11-08 15:44:33 +01:00
jvoisin
73f2a87aa0
Provide a name for the loggers
2023-09-08 22:16:45 +02:00
jvoisin
abcdf07ef4
Properly handle a cairo exception
2023-09-07 16:31:34 +02:00
Rui Chen
a3081bce47
setup: use share/man/man1 for man1
2023-08-31 19:44:28 -04:00
georg
47d5529840
tests: drop duplicate dirty.epub file; it's stored below data/ as well
2023-08-03 13:42:15 +00:00
jvoisin
fa44794dfd
Fix the project name in pyproject.toml
2023-08-02 21:21:44 +02:00
jvoisin
04786d75da
Bump the changelog
2023-08-02 21:09:12 +02:00
jvoisin
cb7b5747a8
Add the manpage to the PyPI package
...
This should close #192
2023-07-11 22:03:56 +02:00
Jason Smalls
8c26020f67
Add more files to ignore for MSOffice documents
2023-07-11 21:38:22 +02:00
Jason Smalls
a0c97b25c4
Add a variant mimetype for bmp
2023-07-11 21:35:04 +02:00
Jason Smalls
1bcb945360
Harden get_meta in archive.py against variants of CVE-2022-35410
2023-07-11 21:31:53 +02:00
jvoisin
9159fe8705
Mention wp-mat in the readme
2023-06-05 19:52:13 +02:00
jvoisin
1b9608aecf
Use proper type annotations instead of comments
2023-05-03 22:28:02 +02:00
jvoisin
2ac8c24dac
Make use of is_dir/isdir for archives
2023-05-03 22:19:19 +02:00
jvoisin
71ecac85b0
Add some documentation about OSX
2023-04-11 21:35:25 +02:00
georg
b9677d8655
CI: codespell: drop obsolete list of ignored words
...
codespell was dropped via a63011b3f6
.
Accordingly, this commit does some cleanup.
2023-03-21 13:18:54 +00:00
georg
6fde80d3e3
CI: shallow clone repository and limit depth to 5
...
The previous commit changed the strategy to 'clone', instead of 'fetch'
as before. While this fixes permission errors, it is also slower, as an
existing checkout of the repository will be ignored. To overcome this,
this commit limits the depth to 5.
2023-03-20 15:11:02 +00:00
georg
6c05360afa
CI: 'clone' git repository instead of 'fetch'
...
While the former is slower, the later might lead to errors such as
"fatal: detected dubious ownership in repository at" which is fixed
GitLab upstream via
https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3538 , but
not yet released.
Closes #191
2023-03-20 15:10:56 +00:00
georg
596696dfbc
CI: Add python3.{7,8,9,10,11} test jobs
...
Closes #187
2023-03-15 23:38:39 +00:00
jvoisin
daa17a3e9c
Fix the CI on Archlinux
2023-03-12 13:29:46 +01:00
Gu1nn3zz
6061f47231
fix: Typing in the parser factory
2023-03-07 17:37:56 +00:00
georg
8b41764a3e
CI: linting: ruff: specify image
...
Otherwise, this job might fail, depending on the runner which executes
the job, due to different configurations, especially wrt the default
image.
Ref https://0xacab.org/jvoisin/mat2/-/merge_requests/105
2023-03-07 11:25:17 +00:00
Rui Chen
ed0ffa5693
Update pyproject.toml
to include version
2023-02-24 09:12:06 +00:00
jvoisin
b1c03bce72
Bump the changelog
2023-02-23 21:36:46 +01:00
jvoisin
a63011b3f6
Improve the CI
...
- Remove some useless linters
- Make use of ruff
2023-02-20 21:15:07 +01:00
jvoisin
e41390eb64
Explicitly pass a parameter to functools.lru_cache
2023-01-31 20:42:39 +01:00
jvoisin
66a36f6b15
Bump the changelog
2023-01-28 17:55:02 +01:00
jvoisin
3cb3f58084
Another typing pass
2023-01-28 17:22:26 +01:00
jvoisin
39fb254e01
Fix the type annotations
2023-01-28 15:57:20 +00:00
jvoisin
1f73a16ef3
imghdr is deprecated
2023-01-14 15:38:12 +01:00
jvoisin
e8b38f1101
Revert "Simplify a bit the typing annotations of ./mat2"
...
This reverts commit 29057d6cdf
.
2023-01-14 15:35:21 +01:00
jvoisin
8d7230ba16
Fix -l
output
2023-01-07 17:10:02 +01:00
jvoisin
2b02c82e7f
Bump the changelog
2023-01-07 16:52:58 +01:00
Megamind
b00e221675
Make the 'A' in the README ascii art look more "A-like"
2022-12-30 20:05:33 +00:00
jvoisin
62a45c29df
Improve xlsx support
2022-12-25 18:05:13 +01:00