1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2025-12-18 04:50:17 +01:00

176 Commits

Author SHA1 Message Date
8b8a92e9fd Removed license classifier in favor of SPDX entry. 2025-04-18 16:06:33 +02:00
6b7f796cfb README update 2025-03-19 21:28:37 +01:00
72d0858ad8 Move from setup.cfg/py to pure pyproject.toml project definition 2025-03-13 16:55:40 +01:00
4f548ec882 Merge pull request #10 from zagura/add-pyproject-toml
Add pyproject.toml
2025-03-13 12:51:51 +01:00
Michał Zagórski
0faa2c0758 Add pyproject.toml 2025-03-12 23:23:22 +01:00
d37850520b Remove getsize method of PIL in favor of getbbox 2025-03-10 18:33:05 +01:00
5e56cb8c7a Merge pull request #9 from NunoSempere/master
add dependencies, fix some typos
2025-02-10 16:43:31 +01:00
NunoSempere
084e0d11ce fix a few README typos
mostly the lack of "the". I've left some others which are more
charming
2025-01-05 22:32:56 +01:00
NunoSempere
4c3c5a9e27 add missing dependencies (found in Debian 12) 2025-01-05 22:30:09 +01:00
c240495c3d Fix for nonexistent attribute in odt input format 2022-12-04 18:26:09 +01:00
53dea56929 Removed temporary stuff 2022-12-04 18:24:31 +01:00
ef02332465 Fix couple of logging errors 2022-12-04 18:22:06 +01:00
74abaf0de0 Fix imports for collections abstract classes 2022-12-04 18:18:07 +01:00
76e604c951 Fix entry point for the executable. 2021-11-17 09:28:19 +01:00
ac2aa81d42 Moved mime types initialization early ath the package stage. 2021-07-02 20:00:24 +02:00
cf9fe0155b Starting rewrite of the converting process. 2021-06-28 22:03:30 +02:00
3f57198f91 Changing logging module location. 2021-06-28 22:02:41 +02:00
b574357c2c Removed old, overcomplicated logger. 2021-06-28 21:10:58 +02:00
dc6a5f95af Fixed weird way for detecting big/little endian platforms. 2021-06-25 19:59:47 +02:00
47d9fda3b0 Fix leftovers from logger transition 2021-06-24 21:24:08 +02:00
ecacc8a2a2 Fix for phony getiterator() on lxml node. 2021-06-24 20:36:36 +02:00
0a9536b180 Finalizing logging transition. 2021-06-24 20:31:37 +02:00
230fe90e69 Another part of logging adaptation 2021-06-24 19:58:56 +02:00
6dfcaea2dd Next portion of logging adapt. 2021-06-24 19:58:56 +02:00
84abd62a61 Re added (probably) right formating codes. 2021-06-22 22:06:09 +02:00
546cc26652 Added first portion of logging adaptation.
Things may be broken at this point - there are still several modules to
be adapted.
2021-06-22 22:04:45 +02:00
6f898ab23e Added real logging class, instead of Log class. 2021-06-22 22:03:46 +02:00
f47376830f Moved misc functions from polyglot package to single polyglot module. 2021-05-25 19:15:13 +02:00
f46984267e Remove useless import 2021-05-24 20:08:49 +02:00
6d08cf7da2 Revisited jacket functions. 2021-03-27 16:35:40 +01:00
6e293ff9dc Removed unused in convertion catalog feature. 2021-03-24 13:13:27 +01:00
1492b2c1f6 Removed unused get_iso_language. 2021-03-24 13:11:33 +01:00
2371a5a1c9 Removed ipc module.
There was only one function in module ipc: eintr_retry_call. This
function was used in pdftohtml module, and turns out[1] it's not needed
anymore. Support for retrying on syscall interrupts was introduced in
Python 3.5 (which was released in 2015), and covers subprocess module
among other modules. In this commit, mentioned eintr_retry_call function
has been removed, and couple of cosmetic changes was done in module
pdftohtml.

[1] https://www.python.org/dev/peps/pep-0475/
2021-02-22 20:59:21 +01:00
b2f161670a Cleaned up __init__.py for main module 2021-01-05 19:48:45 +01:00
8a757f60a6 Added missing entities module 2021-01-05 19:16:54 +01:00
018676c026 Moved prepare_string_for_xml to utils.entities. 2021-01-03 19:47:49 +01:00
8be21d878d Moved xml_replace_entities to utils.entities. 2021-01-03 19:37:03 +01:00
dc4352fd4c Moved replace_entities to utils.entities. 2021-01-03 19:35:07 +01:00
877ea68d42 Moved xml_entity_to_unicode partial to utils.entities module. 2021-01-03 19:00:17 +01:00
839cc3c79a Moved entity_to_unicode function to utils.entities module. 2021-01-03 18:52:13 +01:00
3152c52839 Move force_uniceode to utils package 2020-11-11 19:31:15 +01:00
35c34c3b45 Fixed issue with html5-parser.
During development, turns out, that some incompatibility has been
introduced with lxml and html5-parser binary versions on pypy, with
library which is installed on my system. In case, where incompatibility
occurs, there was no error message, no exception thrown, just as a
result of parsing, lame lxml object has been returned, and performing
method like find() on it causes returning None instead of expected
Element object.

Following information about installation of the html5-library[1], I was
forced to change how ebook-converter is installed. Now, we have to build
and compile lxml on the target system, which is forced by introduced
requirements.txt file. Perhaps, I'll reconsider removing html5-parser in
the future.

[1] https://html5-parser.readthedocs.io/en/latest/#unix
2020-11-11 15:51:07 +01:00
22fed6f4d3 Removed facade on os.walk. 2020-10-13 21:27:32 +02:00
b44926a6eb Move fit_image to img utils module. 2020-10-13 21:00:01 +02:00
250d0eeea7 Move specific sanitize_file_name out of init module.
sanitize_file_name function has been moved to utility module filenames,
where it logically belongs.
2020-10-13 19:29:27 +02:00
847e133878 Initialize mime in cli module 2020-09-30 20:46:01 +02:00
e213b7a64b Moving human_readable formatting function out of __init__.
There is a module, where this function is used - formatter_functions. It
is at the same time the only place where it is used. No need to clutter
__init__.py with it.
2020-09-30 20:24:22 +02:00
a5880b2445 Moving dependent function my_unichar into entity_to_unicode function 2020-09-30 20:23:20 +02:00
97ddcd7be1 Don't cross import symbols from __init__ 2020-09-30 19:15:56 +02:00
ee232b76d6 Remove leftovers from gettext translations 2020-09-30 19:02:22 +02:00