Sebastian Ramacher
fbfbefe18b
Remove unused code
2022-05-08 16:43:07 +02:00
Sebastian Ramacher
57f0d79e25
Make magic a required dependency
2022-05-08 15:43:16 +02:00
Sebastian Ramacher
6b0461be23
Hide an internal type
...
types.h is for types accessible to plugins.
2022-05-08 10:36:08 +02:00
Sebastian Ramacher
e4b21a0453
Simplify
2019-11-30 15:03:22 +01:00
Sebastian Ramacher
e8716d041c
Fix warnings and errors
2019-11-30 14:39:24 +01:00
Sebastian Ramacher
9a4b7ebbde
Use g_spawn_sync
2019-11-30 14:35:10 +01:00
Sebastian Ramacher
0fa26487fc
Tell magic to handle errors as errors
2019-11-30 12:18:47 +01:00
Sebastian Ramacher
5a5ee06407
Simplify
2019-11-30 11:51:27 +01:00
Sebastian Ramacher
43144b23e8
Re-try with different methods if content type is not supported
2019-11-30 11:36:11 +01:00
Sebastian Ramacher
68a5b01d37
Mark as static
2019-06-01 11:17:28 +02:00
Sebastian Ramacher
71e9ed2df3
Use SPDX license identifiers
2018-11-27 23:10:18 +01:00
Sebastian Ramacher
f037679776
Merge branch 'feature/meson' into develop
2018-02-20 20:24:34 +01:00
Sebastian Ramacher
4ea9d46584
Convert all MIME types to glib "content" types
...
On Linux they are the same, but somewhere else they might be different.
2018-02-10 21:09:22 +01:00
Sebastian Ramacher
21a9aed968
Fix return type
2018-02-10 13:31:13 +01:00
Sebastian Ramacher
b777e8487c
Remove extra defines
2018-02-10 13:31:06 +01:00
Sebastian Ramacher
8946015219
Fix return type
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-20 15:25:08 +01:00
Sebastian Ramacher
e550ab66ee
Reduce amount of leaked memory by libmagic
...
libmagic always leaks 48 bytes. Now we leak those bytes only once instead of
every content type detection.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-20 13:45:51 +01:00
Moritz Lipp
a1a0e47148
Begin to update build-system
2014-11-07 15:57:46 +01:00