gryf
fa24530bc5
Imports rearrangements, readme reformat, basic stuff.
...
Smoke tests are 100/100.
2026-05-13 22:14:07 +02:00
gryf
8b8a92e9fd
Removed license classifier in favor of SPDX entry.
2025-04-18 16:06:33 +02:00
gryf
6b7f796cfb
README update
2025-03-19 21:28:37 +01:00
gryf
72d0858ad8
Move from setup.cfg/py to pure pyproject.toml project definition
2025-03-13 16:55:40 +01:00
gryf
4f548ec882
Merge pull request #10 from zagura/add-pyproject-toml
...
Add pyproject.toml
2025-03-13 12:51:51 +01:00
gryf
d37850520b
Remove getsize method of PIL in favor of getbbox
2025-03-10 18:33:05 +01:00
gryf
5e56cb8c7a
Merge pull request #9 from NunoSempere/master
...
add dependencies, fix some typos
2025-02-10 16:43:31 +01:00
gryf
c240495c3d
Fix for nonexistent attribute in odt input format
2022-12-04 18:26:09 +01:00
gryf
53dea56929
Removed temporary stuff
2022-12-04 18:24:31 +01:00
gryf
ef02332465
Fix couple of logging errors
2022-12-04 18:22:06 +01:00
gryf
74abaf0de0
Fix imports for collections abstract classes
2022-12-04 18:18:07 +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
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
gryf
a5880b2445
Moving dependent function my_unichar into entity_to_unicode function
2020-09-30 20:23:20 +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
c10367751d
Stop processing custom tweaks. Removing with the dependences.
2020-09-06 18:39:27 +02:00
gryf
5dae7a6f2d
Stop populating installation_uuid in configuration.
2020-09-06 18:38:44 +02:00
gryf
2690964642
Removed unused DevicePrefs from config module.
2020-09-06 18:36:19 +02:00
gryf
e232256420
Changed location of scanned fonts.
...
In Calibre, there was decided to keep the fonts information inside the
configuration directory. While scanned fonts information is actually a
cache, I would keep it there. This commit is making that happen.
Also removed XMLConfig in favor of JSONConfig class, since XMLConfig is
not used at all.
2020-09-06 18:32:10 +02:00
gryf
61d59cb84a
Removed unused class and function in config module.
2020-09-06 18:30:21 +02:00
gryf
2c787fd5bf
Fix some flake8 findings on config module.
2020-09-06 18:29:33 +02:00
gryf
11275651a2
Fix flake8 issues in ui module.
2020-09-06 18:26:57 +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
de22960d26
Change location of ebook-converter rc files
2020-09-06 18:18:32 +02:00
gryf
befceafd56
Merge pull request #3 from keshavbhatt/snapcraft
...
added snapcraft recipe
2020-08-17 10:05:11 +02:00
gryf
fa3d6d58a3
Removed unused code, stright up iso8601 parser
2020-07-19 20:00:31 +02:00
gryf
e0ea04c658
Removed unused monotonic module
2020-07-19 10:25:30 +02:00
gryf
fbeb2fbf18
Removed unused startuo module
2020-07-19 10:24:40 +02:00
gryf
e2b9246cdf
Removed unneeded stuff
2020-07-18 19:49:15 +02:00
gryf
bc790238cc
Removed old py2 code from constants
2020-07-18 19:40:24 +02:00
gryf
0abbb43afe
Removed unused code mainly from old constants file.
2020-07-18 19:37:35 +02:00
gryf
f5f83f9c68
Removed platform dependend code, cleanup
2020-07-18 18:08:57 +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
5ac8451668
Removed unsed code
2020-07-17 17:57:41 +02:00
gryf
4216fef20e
Removed prints and extract function from init module
2020-07-13 21:38:06 +02:00
gryf
025878dfe5
Cleanup init module
2020-07-13 20:44:09 +02:00
gryf
16c568eab9
Removed useless function assign to variable
2020-07-13 20:33:41 +02:00
gryf
a618f929a8
Removed unused url_slash_cleaner
2020-07-13 20:31:40 +02:00
gryf
3e5e68d886
Removed unused confirm_config_name function
2020-07-13 20:21:56 +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
732becf349
Removed unused imports and functions from poliglote urllib
2020-07-07 21:57:44 +02:00
gryf
40e2cbab98
Added dependency for fb2ml, fixed oeb.base references in fb2 format
2020-07-05 19:47:04 +02:00
gryf
5ea3a5156d
Removed unsued functions
2020-07-05 19:41:45 +02:00
gryf
c25c14024f
Removed useless cmp function from icu and polyglot
2020-07-05 17:43:42 +02:00
gryf
df26a45a2e
Removed forgotten error_message function
2020-07-05 17:43:02 +02:00
gryf
c25d63fd05
Removed safe_chr function
2020-07-05 17:42:01 +02:00
gryf
37ac7730e4
Removing some more unused functions
2020-07-05 17:16:52 +02:00
gryf
210dd77e5f
Removed int_to_byte function
2020-07-05 17:12:00 +02:00
gryf
ed146c53c9
Readme update
2020-07-05 17:11:23 +02:00
gryf
77e0f7bf2f
Removed unused functions/structs
2020-07-05 17:11:03 +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
cd93b85eb0
Removed isworker variable from old constants.
2020-06-17 18:15:33 +02:00
gryf
0e040b1e5e
Removed unused launch module
2020-06-17 18:10:38 +02:00
gryf
b1ae3f74f4
Get rid of environ_item function
2020-06-17 17:56:31 +02:00
gryf
927e4fe978
Removed unused rerise function
2020-06-17 17:52:22 +02:00
gryf
976ef5ce36
Get rid of polyglot as_unicode
2020-06-17 17:51:37 +02:00
gryf
4b27f55f5b
Clean up cleantext module
2020-06-17 17:44:51 +02:00
gryf
f31fb5e971
Get rid of name2codepoint usage in favor of stdlib one.
2020-06-17 17:42:49 +02:00
gryf
b4b02a4893
Fix for the missing open file mode.
2020-06-17 17:40:20 +02:00
gryf
1c04e7a4c7
More cleanups. Removing version function.
2020-06-15 22:22:55 +02:00
gryf
e7bd0f50e6
Removed lock module.
2020-06-15 21:05:54 +02:00
gryf
6028f3d33a
Removed unused simple_worker module
2020-06-15 09:03:17 +02:00
gryf
a04b02b5a2
Removed share_open function.
...
Also, some more cleanup style changes has been made.
2020-06-14 20:47:38 +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
add7a8ca56
Removed unused function to_unicode
2020-06-14 16:25:46 +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
gryf
9891d02694
Fixed flake8 issues to several modules
2020-06-14 15:49:11 +02:00
gryf
1d4f75ceba
Removed unused fsync function
2020-06-14 15:47:47 +02:00
gryf
1465e4267f
Sorted out mime initialization.
...
Every mime related function in main __init__.py has a flag check for the
check if initialization has already done. This is nonsense, since it
should be done implicitly early on the converter is starting.
This commit straight the things out, and initialization is done in cli
module.
Also, function guess_type was removed, since it's just a proxy for
mimetypes.guess_type function.
2020-06-14 15:41:18 +02:00
gryf
b23a59f223
Removed unused function for counting CPU cores
2020-06-14 12:43:15 +02:00
gryf
ebb2e810eb
Removed 'browser' related functions
2020-06-14 12:28:23 +02:00
gryf
be671ef2d8
Removed isbytestring function
2020-06-14 12:10:40 +02:00
gryf
a69884d724
Fixing leftovers from first concept of constants
2020-06-07 11:59:00 +02:00
gryf
7419954e0c
Added missing dump module
2020-06-07 08:14:15 +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
ee4801228f
Added real constants module
2020-05-29 16:49:26 +02:00
gryf
2c78d6e3a6
Renamed constants, to make room for real constants module
2020-05-26 19:52:18 +02:00
gryf
399456d9ad
Added LRF input format support.
2020-05-24 12:43:33 +02:00
gryf
17c52a14a4
Some misc cleanups
2020-05-24 12:10:13 +02:00
gryf
0fc6e3b081
Clean up a couple of not used localize functions
2020-05-17 20:45:40 +02:00
gryf
b4067b29c9
Clean up titlecase module
2020-05-17 20:43:16 +02:00
gryf
2d26e8916d
Clean up pdb_input module
2020-05-17 20:40:46 +02:00
gryf
178b9fd4d7
Removed palmdoc C implementation in favor of pure Python.
2020-05-17 20:38:53 +02:00
gryf
da010d7841
Get rid of icu string functions in favor of native ones.
2020-05-03 20:19:11 +02:00
gryf
212cb56d42
Removed gettext related functions
2020-05-03 19:04:07 +02:00
gryf
35445cb736
More cleanup
2020-05-03 15:37:23 +02:00