1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-24 15:11:30 +02:00
Commit Graph

101 Commits

Author SHA1 Message Date
gryf c240495c3d Fix for nonexistent attribute in odt input format 2022-12-04 18:26:09 +01:00
gryf ef02332465 Fix couple of logging errors 2022-12-04 18:22:06 +01:00
gryf 3f57198f91 Changing logging module location. 2021-06-28 22:02:41 +02:00
gryf dc6a5f95af Fixed weird way for detecting big/little endian platforms. 2021-06-25 19:59:47 +02:00
gryf 47d9fda3b0 Fix leftovers from logger transition 2021-06-24 21:24:08 +02:00
gryf ecacc8a2a2 Fix for phony getiterator() on lxml node. 2021-06-24 20:36:36 +02:00
gryf 0a9536b180 Finalizing logging transition. 2021-06-24 20:31:37 +02:00
gryf 230fe90e69 Another part of logging adaptation 2021-06-24 19:58:56 +02:00
gryf 6dfcaea2dd Next portion of logging adapt. 2021-06-24 19:58:56 +02:00
gryf 84abd62a61 Re added (probably) right formating codes. 2021-06-22 22:06:09 +02:00
gryf 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
gryf f47376830f Moved misc functions from polyglot package to single polyglot module. 2021-05-25 19:15:13 +02:00
gryf 6d08cf7da2 Revisited jacket functions. 2021-03-27 16:35:40 +01:00
gryf 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
gryf b2f161670a Cleaned up __init__.py for main module 2021-01-05 19:48:45 +01:00
gryf 018676c026 Moved prepare_string_for_xml to utils.entities. 2021-01-03 19:47:49 +01:00
gryf 8be21d878d Moved xml_replace_entities to utils.entities. 2021-01-03 19:37:03 +01:00
gryf dc4352fd4c Moved replace_entities to utils.entities. 2021-01-03 19:35:07 +01:00
gryf 877ea68d42 Moved xml_entity_to_unicode partial to utils.entities module. 2021-01-03 19:00:17 +01:00
gryf 839cc3c79a Moved entity_to_unicode function to utils.entities module. 2021-01-03 18:52:13 +01:00
gryf 3152c52839 Move force_uniceode to utils package 2020-11-11 19:31:15 +01:00
gryf 22fed6f4d3 Removed facade on os.walk. 2020-10-13 21:27:32 +02:00
gryf b44926a6eb Move fit_image to img utils module. 2020-10-13 21:00:01 +02:00
gryf 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
gryf 847e133878 Initialize mime in cli module 2020-09-30 20:46:01 +02:00
gryf 97ddcd7be1 Don't cross import symbols from __init__ 2020-09-30 19:15:56 +02:00
gryf ee232b76d6 Remove leftovers from gettext translations 2020-09-30 19:02:22 +02:00
gryf db55fd4df7 Removed unused setup_cli_handlers function 2020-09-30 18:59:02 +02:00
gryf 6fdcc029bb Cut off cross importing things.
There was (and perhaps it exists in other modules, need to check) a bad
habit of importing objects out of module A into B just to be able of
import those object from module B. In this case there was import from
module config_base into module config. This commit fix this.
2020-09-06 18:23:21 +02:00
gryf fa3d6d58a3 Removed unused code, stright up iso8601 parser 2020-07-19 20:00:31 +02:00
gryf f1837397a1 Removed osx code 2020-07-18 18:02:59 +02:00
gryf 45b6bb5b2c Cleanup, cleanup 2020-07-17 18:59:45 +02:00
gryf 4216fef20e Removed prints and extract function from init module 2020-07-13 21:38:06 +02:00
gryf 16c568eab9 Removed useless function assign to variable 2020-07-13 20:33:41 +02:00
gryf 6a7dc474ac Removed unicode path function 2020-07-13 20:21:26 +02:00
gryf c82c4e456c Removed urlunquote 2020-07-11 16:24:16 +02:00
gryf 5fb02998a1 Removed polyglot unquote from lrf html module 2020-07-08 21:08:49 +02:00
gryf 40e2cbab98 Added dependency for fb2ml, fixed oeb.base references in fb2 format 2020-07-05 19:47:04 +02:00
gryf 210dd77e5f Removed int_to_byte function 2020-07-05 17:12:00 +02:00
gryf 111854f686 Cleaned up cover module 2020-07-05 16:37:03 +02:00
gryf 8bb1168969 Fix for nested cointent.opf file for epub. 2020-07-05 13:15:58 +02:00
gryf 1a09e3db84 Removed Windows bits. 2020-06-17 19:28:07 +02:00
gryf 976ef5ce36 Get rid of polyglot as_unicode 2020-06-17 17:51:37 +02:00
gryf 1c04e7a4c7 More cleanups. Removing version function. 2020-06-15 22:22:55 +02:00
gryf 3f8844832d Move strftime to util.date module
In this patch strftime function is moved out of main __init__.py module
to util.date, where it belongs.
2020-06-14 20:47:01 +02:00
gryf fdd531f6e0 Removed as_unicode function 2020-06-14 19:02:23 +02:00
gryf bed16d24f1 Flaked8 cli module 2020-06-14 16:22:53 +02:00
gryf 372899739d Removed patheq function 2020-06-14 16:09:08 +02:00
gryf dd60a1cd26 Removed guess_all_extensions 2020-06-14 15:54:38 +02:00
gryf e35bd46422 Removed get_types_map 2020-06-14 15:52:24 +02:00