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

14 Commits

Author SHA1 Message Date
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 3152c52839 Move force_uniceode to utils package 2020-11-11 19:31:15 +01:00
gryf be671ef2d8 Removed isbytestring function 2020-06-14 12:10:40 +02:00
gryf ce89f5c9d1 Use the real constants module.
This is progressing refactor of the calibre code to make it more
readable, and transform it to something more coherent.

In this patch, there are changes regarding imports for some modules,
instead of polluting namespace of each module with some other modules
symbols, which often were imported from other modules. Yuck.
2020-05-29 17:04:53 +02:00
gryf 3234e4de27 Removed iteritems and itervalues, which are redundant 2020-04-21 18:20:08 +02:00
gryf 128705f258 Removed polyglots unicode_type usage 2020-04-20 19:25:28 +02:00
gryf b66cbd2c1e Removed overwritten builtins from mosto of the files.
Just started the process of cleaning up the code base.
2020-04-19 19:06:09 +02:00
gryf 571da747b3 Fix license formatting 2020-04-19 17:50:19 +02:00
gryf 48fedea799 Removing unneeded from __future__ import statements.
Since we are on Python 3.6 and up, we don't need those anymore.
2020-04-19 17:39:02 +02:00
gryf d2159ed60c Added htmlz and pdf formats.
Added HTML reader/writer and PDF reader.
2020-04-19 15:16:48 +02:00
gryf bd9cb86c1c Replace Calibre path resolve system for some of the modules.
In Calibre there is a module, which registers two functions in global
scope, one for filepath and one for images path. It relies on additional
three variables, registered during application startup. I found it
overcomplicated, and couple of the resource paths has been calculated
using pkg_resource module.
2020-04-19 15:16:48 +02:00
gryf 0f9792df36 Convert calibre modules to ebook_converter.
Here is the first batch of modules, which are needed for converting
several formats to LRF. Some of the logic has been change, more cleanups
will follow.
2020-04-19 15:16:48 +02:00
gryf d97ea9b0bc Initial import 2020-04-11 19:27:06 +02:00